Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "1.3.0" ServerName = "fake115" AppVer = "25.2.2" EndString = "000000" UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 " + "Safari/537.36 115Browser/23.9.2" SpiderCheckInterval = time.Second * spiderCheckIntervalInt LinkSep = "|" DirTargetPrefix = "U_1_" )
Variables ¶
View Source
var ( RetryTimes = 10 UserId = "" UserKey = "" Step = 1150 // Cookie提供文件读取和命令行设置两种方式; // 文件读取提供默认设置和命令行设置两种方式; Cookie = "" DefaultCookiePath = "cookies.txt" CookiePath = "" TotalSize = 0 FileCount = 0 Debug bool WorkerNum = 5 WorkerNumRate = 100 // 是否处于等待人机验证的状态 // 不是一个重要的状态,且可能的操作中都是在处理网络请 // 求处理之后,冲突可能极小,不加读写锁,随便改 SpiderVerification = false SpiderStatWaitAliveTime = 0 SpiderStatWaitTimeout = spiderCheckIntervalInt * 3 Logger = log.InitLogger(ServerName, false) )
Functions ¶
func GetFakeHeaders ¶
func GetFakeRangeHeaders ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.