package
Version:
v0.0.0-...-01033d1
Opens a new window with list of versions in this module.
Published: Feb 14, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func BuildRequest(method, url, referrer, cookie, os string, iscn, isjson bool, ...) *httplib.BeegoHTTPRequest
-
func Crawl(method, url, referrer, cookie, os string, iscn, isjson, isdebug bool, ...) (string, error)
普通采集函数封装
不需要设置UA,采集函数会根据os设置ua
如果在headers设置ua,将重写ua,如果需要重写ua,确实可以这么做
Source Files
¶
Click to show internal directories.
Click to hide internal directories.