wangkun 1 éve
szülő
commit
82e98f4fef

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 1
douyin/douyin_author/douyin_author_scheduling.py


+ 5 - 5
douyin/douyin_main/run_dy_author_dev.py

@@ -8,13 +8,13 @@ from common.common import Common
 from douyin.douyin_author.douyin_author_scheduling import DouyinauthorScheduling
 
 
-def xigua_search_main(log_type, crawler, env):
-    Common.logger(log_type, crawler).info("开始抓取抖音账号\n")
-    Common.logging(log_type, crawler, env, "开始抓取抖音账号\n")
+def douyin_author_main(log_type, crawler, env):
+    Common.logger(log_type, crawler).info("开始抓取:抖音账号\n")
+    Common.logging(log_type, crawler, env, "开始抓取:抖音账号\n")
     DouyinauthorScheduling.get_author_videos(log_type=log_type,
                                              crawler=crawler,
                                              rule_dict={"like_cnt":{"min":30000,"max":0},"duration":{"min":50,"max":1800},"period":{"min":15,"max":15}},
-                                             user_list=[{"uid": 6267140, "source": "douyin", "link": "MS4wLjABAAAAqCDcUgcHVoOMoi_0u-1b9M303FJR9qXKdtitf80nt4g", "nick_name": "一乐店长", "avatar_url": "http://rescdn.yishihui.com/user/default/avatar/live/1616555584754_u=3828798179,534417403&fm=26&gp=0.jpg", "mode": "author"}],
+                                             user_list=[{"uid": 6267140, "source": "douyin", "link": "MS4wLjABAAAApCwcn6-2-_to5Qld7jAT78-Ano5_9JzXbT5ylfNJntY", "nick_name": "大白爆笑社", "avatar_url": "http://rescdn.yishihui.com/user/default/avatar/live/1616555584754_u=3828798179,534417403&fm=26&gp=0.jpg", "mode": "author"}],
                                              env=env)
     Common.del_logs(log_type, crawler)
     Common.logger(log_type, crawler).info("抓取一轮结束\n")
@@ -22,4 +22,4 @@ def xigua_search_main(log_type, crawler, env):
 
 
 if __name__ == "__main__":
-    xigua_search_main("author", "douyin", "dev")
+    douyin_author_main("author", "douyin", "dev")

+ 2 - 2
douyin/douyin_main/run_dy_recommend_dev.py

@@ -8,7 +8,7 @@ from common.common import Common
 from douyin.douyin_recommend.douyin_recommend_scheduling import DouyinrecommendScheduling
 
 
-def main(log_type, crawler, env):
+def douyin_recommend_main(log_type, crawler, env):
     Common.logger(log_type, crawler).info(f'开始抓取 西瓜推荐\n')
     Common.logging(log_type, crawler, env, "开始抓取 西瓜推荐\n")
     DouyinrecommendScheduling.get_videoList(log_type=log_type,
@@ -21,4 +21,4 @@ def main(log_type, crawler, env):
 
 
 if __name__ == "__main__":
-    main("recommend", "douyin", "dev")
+    douyin_recommend_main("recommend", "douyin", "dev")

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott