'commit'
This commit is contained in:
18
Apps/AiTeJiYiChong/Config/Setting.py
Normal file
18
Apps/AiTeJiYiChong/Config/Setting.py
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
# 采集配置
|
||||
SCROLL_DISTANCE_RATIO = 0.4
|
||||
MAX_SCROLLS = 100
|
||||
MAX_CRAWL_DISTANCE = 50
|
||||
REDIS_STATION_EXPIRE = 120
|
||||
DATA_RETENTION_DAYS = 365
|
||||
|
||||
# 等待时间配置 (秒)
|
||||
WAIT_DETAIL_PAGE_LOAD = 3.0
|
||||
WAIT_BACK_TO_LIST = 1.5
|
||||
WAIT_AFTER_SCROLL = 2.5
|
||||
|
||||
# 坐标计算与安全防护
|
||||
SAFE_EXCLUDE_RATIO = 0.20
|
||||
BOTTOM_SAFE_EXCLUDE_RATIO = 0.1
|
||||
FALLBACK_WIDTH = 1080
|
||||
FALLBACK_HEIGHT = 2400
|
||||
Reference in New Issue
Block a user