mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
✨ feat:适配油管音频
1. 适配油管音频 2. 提取部分内联函数
This commit is contained in:
parent
0bbaa46804
commit
cb3ebc32cd
@ -1949,6 +1949,7 @@ export class tools extends plugin {
|
|||||||
|
|
||||||
const path = this.getCurDownloadPath(e);
|
const path = this.getCurDownloadPath(e);
|
||||||
await checkAndRemoveFile(path + "/temp.mp4")
|
await checkAndRemoveFile(path + "/temp.mp4")
|
||||||
|
await checkAndRemoveFile(path + "/temp.mp3")
|
||||||
await checkAndRemoveFile(path + "/thumbnail.png")
|
await checkAndRemoveFile(path + "/thumbnail.png")
|
||||||
await ytDlpGetThumbnail(path, url, isOversea, this.myProxy)
|
await ytDlpGetThumbnail(path, url, isOversea, this.myProxy)
|
||||||
const title = ytDlpGetTilt(url, isOversea, this.myProxy).toString().replace(/\n/g, '');
|
const title = ytDlpGetTilt(url, isOversea, this.myProxy).toString().replace(/\n/g, '');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user