Documentation ¶
Index ¶
- Variables
- func AsFileBasename(name string) string
- func EvalJavaScript(script string) string
- func GbkToUtf8(s string) string
- func GetHtml(URL string) (*goquery.Document, error)
- func GetResponse(URL string, referer *string) (*http.Response, error)
- func GetText(URL string) (string, error)
- func RandUA() string
- func Reverse(a interface{})
- type Writer
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAgents = []string{
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0",
}
Functions ¶
func AsFileBasename ¶
func EvalJavaScript ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.