feat(proxy): 支持品赞分组代理与自动白名单
This commit is contained in:
@@ -9,11 +9,13 @@ const Version = "0.4.0"
|
||||
var BuildTime = "unknown"
|
||||
|
||||
const (
|
||||
BaseURL = "https://www.douyu.com"
|
||||
UserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36"
|
||||
DefaultAttempts = 2
|
||||
DefaultConcurrency = 150
|
||||
ProductCacheTTL = 30 * time.Second
|
||||
BaseURL = "https://www.douyu.com"
|
||||
UserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36"
|
||||
DefaultAttempts = 2
|
||||
DefaultConcurrency = 150
|
||||
DefaultAccountsPerProxy = 5
|
||||
MaxAccountsPerProxy = 100
|
||||
ProductCacheTTL = 30 * time.Second
|
||||
|
||||
DefaultAppDataDirName = "douyu-go"
|
||||
DefaultConfigFile = "config.json"
|
||||
|
||||
Reference in New Issue
Block a user