- 升级 parsel 至 1.11.0,PyYAML 至 6.0.3,requests 至 2.33.1,tenacity 至 9.1.4 - 新增 schedule 1.2.2 依赖包 - 注释掉 start_onepiece_spider.py 中立即运行的任务调用 - 保留每周一定时执行 en_op_main 任务逻辑
@@ -1,9 +1,10 @@
-i https://mirrors.aliyun.com/pypi/simple/
DBUtils==3.1.2
loguru==0.7.3
-parsel==1.10.0
+parsel==1.11.0
PyMySQL==1.1.2
-PyYAML==6.0.1
-requests==2.32.5
-tenacity==9.1.2
+PyYAML==6.0.3
+requests==2.33.1
+schedule==1.2.2
+tenacity==9.1.4
user_agent==0.1.14
@@ -37,9 +37,9 @@ def schedule_task():
change_card_main
"""
# 立即运行一次任务
- run_threaded(en_op_main(log=logger))
- run_threaded(jp_op_main(log=logger))
- run_threaded(jz_op_main(log=logger))
+ # run_threaded(en_op_main(log=logger))
+ # run_threaded(jp_op_main(log=logger))
+ # run_threaded(jz_op_main(log=logger))
# 设置定时任务
schedule.every().monday.at("01:01").do(run_threaded, en_op_main, log=logger)