黑丝优化

This commit is contained in:
liuwei
2026-02-25 15:36:21 +08:00
parent 5845a336ef
commit dd9fc1da88

View File

@@ -137,7 +137,7 @@ class VideoPlugin(MessagePluginInterface):
save_path = os.path.join(self.download_dir, video_filename)
self.LOG.info(f"开始下载视频到: {save_path}")
file_abspath, first_frame = await self._download_stream("https://yunzhiapi.cn/API/jxhssp.php", save_path)
file_abspath, first_frame = await self._download_stream("http://api.yujn.cn/api/heisis.php?type=video", save_path)
if not file_abspath or not os.path.exists(file_abspath) or not file_abspath.endswith("mp4"):
self.LOG.error(f"视频下载失败,文件路径: {file_abspath}")