From ab4c39f41a1e470811f05dfdf7d6324e316e8765 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 6 Nov 2022 21:21:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyXunmi.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyXunmi.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/SrcJyXunmi.js b/SrcJyXunmi.js index 1681cc82..90a5c342 100644 --- a/SrcJyXunmi.js +++ b/SrcJyXunmi.js @@ -1193,6 +1193,13 @@ function xunmierji(type,ua) { for(let i in lists){ let list = lists[i]; let oneurl = list[0].split('$')[1]; + if(oneurl.indexOf('=')>-1){ + oneurl = oneurl.split('=')[1]; + list = list.forEach(item => { + item = item.split('$')[0]+'$'+item.split('$')[1].split('=')[1]; + }); + log(list); + } if(/^http/.test(oneurl)){ urls.push(list.join('#').replace(/\&/g, '&&')); froms.push(tabs[i]); @@ -1234,8 +1241,8 @@ function xunmierji(type,ua) { if (/v1|app|v2|iptv|cms/.test(type)) { var playtitle = list[j].split('$')[0]; if (/iptv/.test(type)) { - var playurl = list[j].split('$')[1].split('url=')[1]; - parse_api = list[j].split('$')[1].split('url=')[0]+"url="; + var playurl = list[j].split('$')[1].split('=')[1]; + parse_api = list[j].split('$')[1].split('=')[0]+"="; }else{ var playurl = list[j].split('$')[1]; }