refactor: 代码优化

This commit is contained in:
Relakkes
2024-01-16 00:40:07 +08:00
parent e490123fcd
commit e0f9a487e4
9 changed files with 163 additions and 114 deletions
+1 -4
View File
@@ -11,9 +11,6 @@ ENABLE_IP_PROXY = False
# 代理IP池数量
IP_PROXY_POOL_COUNT = 2
# 重试时间
RETRY_INTERVAL = 60 * 30 # 30 minutes
# 设置为True不会打开浏览器(无头浏览器),设置False会打开一个浏览器(小红书如果一直扫码登录不通过,打开浏览器手动过一下滑动验证码)
HEADLESS = True
@@ -74,4 +71,4 @@ BILI_SPECIFIED_ID_LIST = [
WEIBO_SPECIFIED_ID_LIST = [
"4982041758140155",
# ........................
]
]