抖音插件代码优化
This commit is contained in:
@@ -173,7 +173,8 @@ class DouyinParserPlugin(MessagePluginInterface):
|
|||||||
"""清理响应数据"""
|
"""清理响应数据"""
|
||||||
if not data:
|
if not data:
|
||||||
return data
|
return data
|
||||||
data['cover'] = "https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/7c/49/e1/7c49e1af-ce92-d1c4-9a93-0a316e47ba94/AppIcon_TikTok-0-0-1x_U007epad-0-1-0-0-85-220.png/512x512bb.jpg"
|
data[
|
||||||
|
'cover'] = "https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/7c/49/e1/7c49e1af-ce92-d1c4-9a93-0a316e47ba94/AppIcon_TikTok-0-0-1x_U007epad-0-1-0-0-85-220.png/512x512bb.jpg"
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def _get_real_video_url(self, video_url: str) -> str:
|
def _get_real_video_url(self, video_url: str) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user