mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🐞 fix: 修复部分用户使用 TikTok 解析问题
This commit is contained in:
parent
3803bf4474
commit
d2c42c1528
@ -349,6 +349,7 @@ export class tools extends plugin {
|
||||
const cleanedTiktokUrl = parsedUrl.toString();
|
||||
// 下载逻辑
|
||||
const path = this.getCurDownloadPath(e);
|
||||
await checkAndRemoveFile(path + "/temp.mp4")
|
||||
const title = execSync(`yt-dlp --get-title ${ cleanedTiktokUrl } ${ isOversea ? "" : `--proxy ${ this.myProxy }` }`)
|
||||
e.reply(`识别:TikTok,视频下载中请耐心等待 \n${ title }`);
|
||||
await this.tiktokHelper(path, cleanedTiktokUrl, isOversea);
|
||||
|
Loading…
x
Reference in New Issue
Block a user