From 2dd4f538acab49a26394712c9e5ee2b3111ba78e Mon Sep 17 00:00:00 2001 From: aliluya1977 <150768790+aliluya1977@users.noreply.github.com> Date: Wed, 29 May 2024 08:59:59 +0800 Subject: [PATCH] Add files via upload --- js/ikanbot3.js | 158 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 js/ikanbot3.js diff --git a/js/ikanbot3.js b/js/ikanbot3.js new file mode 100644 index 0000000..22a69e4 --- /dev/null +++ b/js/ikanbot3.js @@ -0,0 +1,158 @@ +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(/