From e26bd03e2433ffab80070335c9f7706dffc199b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=9A=E9=A3=8E=E6=8B=82=E6=9F=B3=E9=A2=9C?= <434857005@qq.com> Date: Wed, 23 Aug 2023 10:34:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=88=B1=E7=9C=8B=E6=9C=BA?= =?UTF-8?q?=E5=99=A8=E4=BA=BAv=5Ftks=E7=AE=97=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/爱看机器人.js | 108 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 js/爱看机器人.js diff --git a/js/爱看机器人.js b/js/爱看机器人.js new file mode 100644 index 0000000..77659aa --- /dev/null +++ b/js/爱看机器人.js @@ -0,0 +1,108 @@ +var 二级=`js: +try { + VOD={}; + let html1 = request(input); + pdfh = jsp.pdfh; + VOD.vod_id = pdfh(html1, "#current_id&&value"); + VOD.vod_name = pdfh(html1, "h2&&Text"); + // VOD.vod_pic = pdfh(html1, ".item-root&&img&&src"); + VOD.vod_pic = pdfh(html1, ".item-root&&img&&data-src"); + // VOD.vod_actor = pdfh(html1, ".celebrity&&Text"); + VOD.vod_actor = pdfh(html1, ".meta:eq(4)&&Text"); + // VOD.vod_area = pdfh(html1, ".country&&Text"); + VOD.vod_area = pdfh(html1, ".meta:eq(3)&&Text"); + // VOD.vod_year = pdfh(html1, ".year&&Text"); + VOD.vod_year = pdfh(html1, ".meta:eq(2)&&Text"); + VOD.vod_remarks = ""; + VOD.vod_director = ""; + VOD.vod_content = ""; + log(VOD); + var v_tks = ''; + let script = pdfa(html1,'script').find(it=>it.includes('v_tks+=')).replace(/