黑丝视频替换API
This commit is contained in:
@@ -137,7 +137,7 @@ class VideoPlugin(MessagePluginInterface):
|
|||||||
save_path = os.path.join(self.download_dir, video_filename)
|
save_path = os.path.join(self.download_dir, video_filename)
|
||||||
self.LOG.info(f"开始下载视频到: {save_path}")
|
self.LOG.info(f"开始下载视频到: {save_path}")
|
||||||
|
|
||||||
file_abspath, first_frame = await self._download_stream(" http://api.yujn.cn/api/heisis.php?type=video", save_path)
|
file_abspath, first_frame = await self._download_stream("https://api.jkyai.top/API/jxhssp.php", save_path)
|
||||||
|
|
||||||
if not file_abspath or not os.path.exists(file_abspath) or not file_abspath.endswith("mp4"):
|
if not file_abspath or not os.path.exists(file_abspath) or not file_abspath.endswith("mp4"):
|
||||||
self.LOG.error(f"视频下载失败,文件路径: {file_abspath}")
|
self.LOG.error(f"视频下载失败,文件路径: {file_abspath}")
|
||||||
|
|||||||
Reference in New Issue
Block a user