From 50c512d87378a2266322581dbde387c81ab3b02d Mon Sep 17 00:00:00 2001 From: Aluxes <39981645+AshenAshes@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:45:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E5=8D=9A=E8=A7=A3=E6=9E=90=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AF=B9=E6=96=87=E7=AB=A0=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/tools.js b/apps/tools.js index 018c80d..bafeb72 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -957,6 +957,8 @@ export class tools extends plugin { if (page_info) { // 视频 const videoUrl = page_info.urls?.mp4_720p_mp4 || page_info.urls?.mp4_hd_mp4; + // 文章 + if (!videoUrl) return true try { this.downloadVideo(videoUrl, false, { "User-Agent":