Browse Source

西瓜_author上线

罗俊辉 1 year ago
parent
commit
0fb162ca76
1 changed files with 2 additions and 2 deletions
  1. 2 2
      xigua/xigua_main/run_xg_author.py

+ 2 - 2
xigua/xigua_main/run_xg_author.py

@@ -88,14 +88,14 @@ def main(log_type, crawler, topic_name, group_id, env):
                     env=env,
                     message=f'开始抓取:{task_dict["taskName"]}\n',
                 )
-                XiGuaAuthor(
+                Xg = XiGuaAuthor(
                     mode=log_type,
                     platform=crawler,
                     rule_dict=rule_dict,
                     user_list=user_list,
                     env=env,
                 )
-                XiGuaAuthor.get_author_list()
+                Xg.get_author_list()
                 xg_author_end_time = int(time.time())
                 AliyunLogger.logging(
                     code="1004",