Skip to content

eli95/CookiesPool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

配置

# Redis数据库地址
REDIS_HOST = 'localhost'

# Redis端口
REDIS_PORT = 6379

# Redis密码,如无填None
REDIS_PASSWORD = None

# 生成器使用的浏览器
BROWSER_TYPE = 'Chrome'

# 生成器类
GENERATOR_MAP = {
    'robo': 'RoboCookiesGenerator'
}

# 验证器类
TESTER_MAP = {
    'robo': 'RoboValidTester',
}

# 验证器验证接口
TEST_URL_MAP = {
    'robo': 'https://gw.datayes.com/rrp_adventure/web/kmap/company/info?ticker=000001',
}

# 生成器和验证器循环周期
CYCLE = 3600

# API地址和端口
API_HOST = '0.0.0.0'
API_PORT = 5000

# 生成器进程
GENERATOR_PROCESS = True
# 验证器进程
VALID_PROCESS = True
# API接口进程
API_PROCESS = True

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages