Documentation ¶
Index ¶
- Variables
- func Archive(src, dst string) error
- func AsBasename(s string) string
- func Decode1(p string, a, c int, k []string) string
- func Decode2(s string) string
- func Decode3(s string) string
- func Decode4(s string, dst *[]string) int
- func Decode5(s string) (int, string)
- func Decode6(m []string) string
- func GetBody(r *http.Request, c *http.Client) (io.ReadCloser, error)
- func GetHtml(r *http.Request, c *http.Client) (*goquery.Document, error)
- func GetHtmlGBK(r *http.Request, c *http.Client) (*goquery.Document, error)
- func GetResponse(r *http.Request, c *http.Client) (*http.Response, error)
- func GetText(r *http.Request, c *http.Client) (string, error)
- func Origin(u string) string
- func RandUA() string
- func Request(url string) *http.Request
- func Reverse(a interface{})
- type Limiter
Constants ¶
This section is empty.
Variables ¶
View Source
var R = regexp.MustCompile(`}\('(.+?)',(\d+),(\d+),'(.+?)'\.split\('\|'\),0,{}\)\)`)
View Source
var UserAgents = []string{
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/101.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/100.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/99.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/98.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/97.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/96.0",
}
Functions ¶
func AsBasename ¶ added in v1.24.0
func GetHtmlGBK ¶ added in v1.30.3
Types ¶
Click to show internal directories.
Click to hide internal directories.