From fe9cd9f5bcd86454e6f2f4405db246d4aeaf0dcb Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Wed, 30 Dec 2020 15:44:19 +0100 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E9=9C=80=E8=AE=B0=E5=BD=95mp4List?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/site/tools.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/site/tools.js b/src/lib/site/tools.js index f75a9ec..c3532da 100644 --- a/src/lib/site/tools.js +++ b/src/lib/site/tools.js @@ -238,7 +238,6 @@ const zy = { const videoList = jsondata.list.video // Parse m3u8List var m3u8List = [] - let mp4List = [] // Parse video lists var fullList = [] const dd = videoList.dl.dd @@ -254,8 +253,6 @@ const zy = { // 如果含有多个视频列表的话, 仅获取m3u8列表 if (i._flag.includes('m3u8') || i._t.includes('.m3u8')) { m3u8List = i._t.split('#') - } else if (i._flag.includes('mp4') || i._t.includes('.mp4')) { - mp4List = i._t.split('#') } } } else { @@ -268,7 +265,6 @@ const zy = { m3u8List = dd._t.split('#') } videoList.m3u8List = m3u8List - if (mp4List.length) videoList.mp4List = mp4List videoList.fullList = fullList resolve(videoList) }).catch(err => {