소스 검색

update 获取作者映射关系方式修改

lierqiang 2 년 전
부모
커밋
d3b32d61c9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      youtube/youtube_follow/youtube_follow_scheduling.py

+ 1 - 1
youtube/youtube_follow/youtube_follow_scheduling.py

@@ -1044,7 +1044,7 @@ class Follow:
         for link in link_list:
             out_uid = link.split("/")[3]
             sql = f""" select * from crawler_author_map where spider_link="{link}" """
-            our_user_info = MysqlHelper.get_values(log_type=log_type, crawler=crawler, sql=sql, env=env)
+            our_user_info = MysqlHelper.get_values(log_type=log_type, crawler=crawler, sql=sql, env=env, action='get_author_map')
 
             if len(our_user_info) == 0:
                 our_uid = 0