🐞 fix: V1.3.1 修复油管解析bug

This commit is contained in:
zhiyu 2024-02-02 23:01:56 +08:00
parent debecdc124
commit b3e6d93236

View File

@ -999,7 +999,7 @@ export class tools extends plugin {
await child_process.execSync(cmd); await child_process.execSync(cmd);
e.reply(segment.video(`${ fullpath }/${ v }.mp4`)) e.reply(segment.video(`${ fullpath }/${ v }.mp4`))
// 清理文件 // 清理文件
// await deleteFolderRecursive(`${ fullpath.split('\/').slice(0, -2).join('/') }`); await deleteFolderRecursive(`${ fullpath.split('\/').slice(0, -2).join('/') }`);
} catch (error) { } catch (error) {
logger.error(error.toString()); logger.error(error.toString());
e.reply("y2b下载失败"); e.reply("y2b下载失败");