@@ -149,7 +149,7 @@ class douyinAuthor():
if count > 5:
Common.logger("douyin").info(
f"重复视频不在抓取该用户,用户主页id:{account_id}")
- return
+ break
continue
video_url = data[j].get('video').get('play_addr').get('url_list')[0] # 视频链接
@@ -143,7 +143,7 @@ class kuaishouAuthor():
Common.logger("kuaishou").info(
channel_name = mark+'/kuaishou'
oss_object_key = Oss.video_sync_upload_oss(video_url, video_id, account_id, channel_name)