From 214f7f5bfce6bc4898fdd64d3df90413855962d3 Mon Sep 17 00:00:00 2001 From: yoursmile66 Date: Fri, 31 May 2024 22:15:42 +0800 Subject: [PATCH] Add files via upload --- js/ikanbot.js | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 js/ikanbot.js diff --git a/js/ikanbot.js b/js/ikanbot.js new file mode 100644 index 0000000..3eaa961 --- /dev/null +++ b/js/ikanbot.js @@ -0,0 +1,119 @@ +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(/