加入视频下载发送操作
This commit is contained in:
@@ -183,6 +183,7 @@ class DouyinParser:
|
||||
message.roomid)
|
||||
self.LOG.info(f"video_url:{video_url}, title:{title}, author:{author}, cover:{cover}")
|
||||
path = self._download_stream(video_url, "down_load_dir/video.mp4")
|
||||
self.LOG.info(f"video_abs_url:{path}")
|
||||
self.wcf.send_file(path, (message.roomid if message.from_group() else message.sender))
|
||||
except Exception as e:
|
||||
self.LOG.error("[抖音] 解析过程发生未知错误: %s\n%s", str(e), traceback.format_exc())
|
||||
|
||||
Reference in New Issue
Block a user