sWeb

package
v0.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(dir_path, file, url string) error
func SearchLinks(url, pathPrefix string, download bool, params *DownloadsParams, limit int) int

SearchLinks, use limit = -1 for nonstop

Types

type DownloadsParams

type DownloadsParams struct {
	Url      string
	Patterns []string
	Dir      string
	FileExt  []string
	Limit    int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL