From 2a9b9fec6a7ebf0cf9321a769bdfaff5546f0db9 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Sun, 11 Aug 2024 16:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D=20wb?= =?UTF-8?q?=20=E6=97=A0=E6=B3=95=E5=8F=91=E9=80=81=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E6=84=9F=E8=B0=A2=E7=BE=A4=E5=8F=8B?= =?UTF-8?q?@=E9=9D=9E=E9=85=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/tools.js b/apps/tools.js index cd2eccb..bd8fa00 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1270,11 +1270,12 @@ export class tools extends plugin { // 文章 if (!videoUrl) return true try { + // wb 视频只能强制使用 1,由群友@非酋提出 this.downloadVideo(videoUrl, false, { "User-Agent": COMMON_USER_AGENT, "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "referer": "https://weibo.com/", - }).then(path => { + }, 1).then(path => { this.sendVideoToUpload(e, `${ path }/temp.mp4`) }); } catch (err) {