抖音链接信息调整
This commit is contained in:
@@ -162,10 +162,11 @@ class DouyinParserPlugin(MessagePluginInterface):
|
||||
return False, "下载视频失败"
|
||||
else:
|
||||
# 发送卡片
|
||||
xml_content = f"{VIDEO_XML_MESSAGE}".format(title=title,
|
||||
url=video_url,
|
||||
thumburl=cover
|
||||
)
|
||||
xml_content = f"{VIDEO_XML_MESSAGE}".format(title=author,
|
||||
des=title,
|
||||
url=video_url,
|
||||
thumburl=cover
|
||||
)
|
||||
await self.bot.send_link_xml_message(xml_content, (roomid if roomid else sender))
|
||||
return True, "发送卡片成功"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user