From a59dd793cc559c999a9c857b243f5310e1f610a5 Mon Sep 17 00:00:00 2001 From: tloook Date: Fri, 15 Sep 2023 17:52:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/ikanbot2.js | 5 +++-- js/ikanbot3.js | 16 ++++++++-------- js/version.txt | 2 +- js/爱看机器人.js | 10 ++++++++-- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/js/ikanbot2.js b/js/ikanbot2.js index db3bb72..d1c0169 100644 --- a/js/ikanbot2.js +++ b/js/ikanbot2.js @@ -26,7 +26,8 @@ VOD.vod_name = pdfh(html1, "h2&&Text"); let html = request(input, { headers: { // 'User-Agent':'PC_UA', - 'User-Agent':'MOBILE_UA', + // 'User-Agent':'MOBILE_UA', + 'User-Agent':'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 'Referer': input, } }); @@ -44,7 +45,7 @@ VOD.vod_name = pdfh(html1, "h2&&Text"); if (!playMap.hasOwnProperty(source)) { playMap[source] = [] } - playMap[source].push(playurl["url"]) + playMap[source].push(playurl["url"].replaceAll('##','#')) }) }); let playFrom = []; diff --git a/js/ikanbot3.js b/js/ikanbot3.js index 6f25ab4..22a69e4 100644 --- a/js/ikanbot3.js +++ b/js/ikanbot3.js @@ -20,12 +20,13 @@ try { var v_tks = ''; // let script = pdfa(html1,'script').find(it=>it.includes('v_tks+=')).replace(/