luojunhui 2 months ago
parent
commit
0aa29c42ab
1 changed files with 12 additions and 12 deletions
  1. 12 12
      run_video_account_crawler.py

+ 12 - 12
run_video_account_crawler.py

@@ -30,18 +30,18 @@ def main():
         print("Run in manual mode. Date: {}".format(args.run_date))
     else:
         run_date = datetime.today()
-    # 先执行账号抓取
-    try:
-        account_crawler.run(run_date)
-    except Exception as e:
-        error_msg = traceback.format_exc()
-        bot(
-            title='账号抓取v1执行失败',
-            detail={
-                "error": str(e),
-                "traceback": error_msg
-            }
-        )
+    # # 先执行账号抓取
+    # try:
+    #     account_crawler.run(run_date)
+    # except Exception as e:
+    #     error_msg = traceback.format_exc()
+    #     bot(
+    #         title='账号抓取v1执行失败',
+    #         detail={
+    #             "error": str(e),
+    #             "traceback": error_msg
+    #         }
+    #     )
     # 再执行文章抓取
     try:
         video_crawler.run()