|
@@ -64,6 +64,11 @@ class DYLS:
|
|
|
if len(list) == int(number):
|
|
|
Common.logger("dy-ls").info(f"获取抖音历史视频总数:{len(list)}\n")
|
|
|
return list
|
|
|
+ else:
|
|
|
+ Common.logger("dy-ls").info(f"抖音历史获取url失败")
|
|
|
+ Feishu.finish_bot("dou_yin/detail接口无法获取到视频链接",
|
|
|
+ "https://open.feishu.cn/open-apis/bot/v2/hook/575ca6a1-84b4-4a2f-983b-1d178e7b16eb",
|
|
|
+ "【抖音异常提示 】")
|
|
|
if has_more == False:
|
|
|
return list
|
|
|
except Exception as exc:
|
|
@@ -73,7 +78,7 @@ class DYLS:
|
|
|
@classmethod
|
|
|
def get_video(cls, video_id):
|
|
|
url = "http://8.217.190.241:8888/crawler/dou_yin/detail"
|
|
|
- for i in range(3):
|
|
|
+ for i in range(3):
|
|
|
payload = json.dumps({
|
|
|
"content_id": str(video_id)
|
|
|
})
|