测试卡片
This commit is contained in:
@@ -129,7 +129,10 @@ class DouyinParser:
|
|||||||
|
|
||||||
if not video_url:
|
if not video_url:
|
||||||
raise DouyinParserError("无法获取视频地址")
|
raise DouyinParserError("无法获取视频地址")
|
||||||
self.send_xml_video(message, title, author, video_url,cover)
|
|
||||||
|
# self.send_xml_video(message, title, author, video_url,cover)
|
||||||
|
self.wcf.send_rich_text("bot", "gh_11", title[:30], f"{title[:30]} - {author[:10]}", video_url, cover,
|
||||||
|
message.roomid)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.LOG.error("[抖音] 解析过程发生未知错误: %s\n%s", str(e), traceback.format_exc())
|
self.LOG.error("[抖音] 解析过程发生未知错误: %s\n%s", str(e), traceback.format_exc())
|
||||||
raise DouyinParserError(f"未知错误: {str(e)}")
|
raise DouyinParserError(f"未知错误: {str(e)}")
|
||||||
|
|||||||
Reference in New Issue
Block a user