diff --git a/JN/dr_py/js/58动漫.js b/JN/dr_py/js/58动漫.js new file mode 100644 index 00000000..3e511970 --- /dev/null +++ b/JN/dr_py/js/58动漫.js @@ -0,0 +1,25 @@ +muban.vfed.二级.title = 'h1&&Text;.fed-col-md3:eq(0)&&Text'; +muban.vfed.二级.desc = '.fed-col-md3:eq(3)&&Text;;;.fed-col-md6--span:eq(0)&&Text;.fed-col-md6--span:eq(1)&&Text'; +muban.vfed.二级.tabs = '.nav-tabs&&li'; +muban.vfed.二级.lists = '.myui-content__list:eq(#id)&&li'; +var rule = { + title: '58动漫', + 模板: 'vfed', + host: 'http://www.ting38.com', + url: '/search.php?page=fypage&searchtype=5&tid=fyclassfyfilter', + class_parse: '.fed-pops-navbar&&li;a&&Text;a&&href;.*/(.*?).html', + play_parse: true, + lazy: "js:var html=JSON.parse(request(input).match(/r player_.*?=(.*?) { + input = {parse: 1, url: input, js: ''}; + }), + double: true, + 推荐: '.blockcontent;ul.ul_li_a5&&li;.anime_icon1_name&&Text;*;.anime_icon1_name1&&Text;*', + 一级: '.blockdif2;.cell_imform_name&&Text;img&&src;.newname&&Text;a&&href;.cell_imform_desc&&Text', + 二级: { + title: 'h4&&Text;.baseblock2&&li:eq(-1)&&Text', + img: 'img&&src', + desc: '.baseblock2&&li&&Text;.baseblock2&&li:eq(-2)&&Text;.baseblock2&&li:eq(2)&&Text;;', + content: '.detail_imform_desc_pre&&p&&Text', + tabs: 'ul.title&&li', + lists: '.movurl:eq(#id)&&a', + tab_text: 'body&&Text', + list_text: 'body&&Text', + list_url: 'a&&href', + list_url_prefix: '', + }, + 搜索: '*', +} \ No newline at end of file diff --git a/JN/dr_py/js/i275听书[听].js b/JN/dr_py/js/i275听书[听].js new file mode 100644 index 00000000..bd87fefd --- /dev/null +++ b/JN/dr_py/js/i275听书[听].js @@ -0,0 +1,61 @@ +var rule = { + 类型: '听书', + title: 'i275听书', + host: 'https://m.ting275.com', + // url: '/category/fyclass/2.html?page=fypage', + url: '/category/fyclass/fyfilter/fypage.html', + filterable: 1,//是否启用分类筛选, + filter_url: '{{fl.by}}', + filter: { + "6": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "7": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "8": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "9": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "10": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "11": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "12": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "13": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "14": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "15": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "49": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "50": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}], + "51": [{"key": "by", "name": "排序", "value": [{"n": "更新", "v": "2"}, {"n": "人气", "v": "3"}]}] + }, + filter_def: { + 6: {by: '2'}, + 7: {by: '2'}, + 8: {by: '2'}, + 9: {by: '2'}, + 10: {by: '2'}, + 11: {by: '2'}, + 12: {by: '2'}, + 13: {by: '2'}, + 14: {by: '2'}, + 15: {by: '2'}, + 49: {by: '2'}, + 50: {by: '2'}, + 51: {by: '2'} + }, + searchUrl: '/pc/index/search.html?keyword=**&page=fypage', + searchable: 2, + quickSearch: 0, + headers: {'User-Agent': 'MOBILE_UA'}, + class_name: '玄幻奇幻&都市言情&宫斗女频&官场商战&武侠仙侠&刑侦推理&探险科幻&重生穿越&恐怖惊悚&文学历史&两性情感&网游竞技&相声评书', + class_url: '6&7&8&9&10&11&12&13&14&15&49&50&51', + play_parse: true, + lazy: '', + limit: 6, + 推荐: '*', + // 一级:'.list-wrapper&&.item-link;h2--span&&Text;img&&data-cfsrc;.status&&Text;a&&href', + 一级: '.list-wrapper&&.item-link;h2--span&&Text;img&&src;.status&&Text;a&&href', + 二级: { + "title": ".book-title&&Text;.text:eq(0)&&Text", + // "img":".img&&data-cfsrc", + "img": ".img&&src", + "desc": ".update-time&&Text;;;.text:eq(1)&&Text;.text:eq(2)&&Text", + "content": ".book-intro&&Text", + "tabs": ".operate-bar&&.total-num", + "lists": ".book-list:eq(#id)&&.list-item" + }, + 搜索: '*', +} \ No newline at end of file diff --git a/JN/dr_py/js/乐草TV.js b/JN/dr_py/js/乐草TV.js new file mode 100644 index 00000000..b1e097ed --- /dev/null +++ b/JN/dr_py/js/乐草TV.js @@ -0,0 +1 @@ +H4sIAAAAAAAAA31TS2/TQBC++1dYIDlxmngTFaRiN1RF4gACcaDhQlG6tcfxputHves8KJHoEYlCeJ4qgbjQC+LCAQqif6ZN2hs/gVk7KQcQB6/nm/1mvt2Z2R5N9TTjoDf1HY1mMohTWy+dfX9x8vzz8bdxqapJJjmgD9Hp3pO1e+gKYiHRE0iZCJuQfr9vcXBp3LBknMz2bwpkKBuoBymCnVJLQFpb7UAkS7h3+861G7eut1urpVFVm/54O32/i95M+rWlXDWEOEOVy/V6vaphyhBaKUcGwd2ssFjkwcBKgoT0Yo/IYQKEecQfupwKQRLaAQTqZwUy5BjngaSMt/4VnXA6LKJxEfg1SKTWeagAmrrBX6G0SwdEZJ0OCLkSMq/ZMPpes1IxlGyzUDc4C5lsLtbP09BNVdJGVde2M+Zu3c2dhcNnXEL6h6Dll2knNBWqCxdDiLJa7Ps1l0Y9KmoK65w51DDyTikjSMF3SHl93VswUdOlEtowcHnmQdGUQqTtgY99wfJrkm62U4hoCKpRZ7uvzt4cnewfTA+PVKt+vRsfFmjy8tPk9U/VMVWv+alkmgF6FGgXrfn3aJDugKwgoYlH4PTh0NY3usLWOEh9y409aHZFYiWeH5RT2M6womUWJZk0rZBKNyiTZeaneMSyVVkxl0kBrhLzfuOB6RRZVPI81TxEOXL++oWc6GjM18skXMyWHoXJJWJJJaPiTBNfQK6n3oLeHdh6varPbohWfjFF1EfaSAcu4D/8xoyvnpZ1XpiFefgGljwfClu/glMZZ3m7fYpJq9rk2cHp3hiLWMEyHX99PD38iMDqMQ9ih4Udw6BcFoZHJa3FKeuwiHLHwjlmtS7IhLpbtR6DvjCMNRhIh9qwXa6bxWSorIdPi6xKYjLen375gKAr4sjmTEhHDYKTMNeByGEecmYTo6ZFG/0GXSBjrDQEAAA= \ No newline at end of file diff --git a/JN/dr_py/js/六月听书[听].js b/JN/dr_py/js/六月听书[听].js new file mode 100644 index 00000000..836565d2 --- /dev/null +++ b/JN/dr_py/js/六月听书[听].js @@ -0,0 +1,28 @@ +var rule = { + 类型: '听书', + title: '六月听书', + host: 'http://m.6yueting.com', + url: '/ys/fyclass/o2/pfypage', + searchUrl: '/search/index/search?content=**&type=1&pageNum=fypage&pageSize=40', + searchable: 2, + quickSearch: 0, + filterable: 0,//是否启用分类筛选, + headers: {'User-Agent': 'MOBILE_UA'}, + class_name: '全部分类&玄幻奇幻&修真武侠&恐怖灵异&古今言情&都市言情&穿越重生&粤语古仔&网游小说&通俗文学&历史纪实&军事&悬疑推理&ebc5系列&官场商战&儿童读物&广播剧&外文原版&评书大全&相声小品&百家讲坛&健康养生&教材&期刊头条&戏曲&脱口秀', + class_url: 't0&t1&t2&t3&t4&t28&t5&t6&t7&t11&t12&t13&t14&t18&t15&t16&t17&t22&t8&t9&t10&t20&t21&t23&t24&t27', + play_parse: true, + lazy: '', + limit: 6, + 图片来源: '@Referer=http://m.6yueting.com/@User-Agent=MOBILE_UA', + 推荐: '*', + 一级: '.list-wrapper&&.item-link;h2--span&&Text;img&&src;.status&&Text;a&&href', + 二级: { + "title": ".book-title&&Text;.text:eq(0)&&Text", + "img": ".img&&src", + "desc": ".text:eq(3)&&Text;;;.text:eq(1)&&Text;.text:eq(2)&&Text", + "content": ".book-intro&&Text", + "tabs": ".operate-bar&&.total-num", + "lists": ".book-list:eq(#id)&&.list-item" + }, + 搜索: 'js:let d=[];let MY_HOME="http://m.6yueting.com";let html=request(input);html=JSON.parse(html);let list=html.data.content;list.forEach(function(it){d.push({title:it.name.replace(/<.*?>/g,""),img:"http://img.6yueting.com:20001/"+it.coverUrlLocal,url:MY_HOME+"/list/"+it.code,desc:it.cdate,content:it.descXx.replace(/ /g,"")})});setResult(d);', +} \ No newline at end of file diff --git a/JN/dr_py/js/博看听书[听].js b/JN/dr_py/js/博看听书[听].js new file mode 100644 index 00000000..70bb22b9 --- /dev/null +++ b/JN/dr_py/js/博看听书[听].js @@ -0,0 +1,52 @@ +var rule = { + 类型: '听书', + title: '博看听书', + host: 'https://api.bookan.com.cn', + homeUrl: '/voice/book/list?instance_id=25304&page=1&category_id=1305&num=24', + url: '/voice/book/list?instance_id=25304&page=fypage&category_id=fyclass&num=24', + detailUrl: '/voice/album/units?album_id=fyid&page=1&num=200&order=1', + searchUrl: 'https://es.bookan.com.cn/api/v3/voice/book?instanceId=25304&keyword=**&pageNum=fypage&limitNum=20', + searchable: 2, + quickSearch: 0, + class_name: '少年读物&儿童文学&国学经典&文艺少年&育儿心经&心理哲学&青春励志&历史小说&故事会&音乐戏剧&相声评书', + class_url: '1305&1304&1320&1306&1309&1310&1307&1312&1303&1317&1319', + headers: {'User-Agent': 'MOBILE_UA'}, + 推荐: '*', + 一级: 'json:data.list;name;cover;extra.author;id', + 二级: `js: + let d = []; + VOD = { + vod_url: input, + vod_name: "", + vod_actor: "", + vod_year: "", + vod_director: "" + }; + let playlists = []; + let data = JSON.parse(request(input)).data; + VOD.vod_name = data.list[0].id; + VOD.vod_actor = "▶️创建于" + data.list[0].created_at; + VOD.vod_year = data.list[0].created_at.split("-")[0]; + VOD.vod_director = "▶️更新于" + data.list[0].updated_at; + let total = data.total; + playlists = data.list; + if (total > 200) { + for (let i = 2; i < total / 200 + 1; i++) { + let listUrl = input.split("&")[0] + "&page=" + i + "&num=200&order=1"; + let data = JSON.parse(request(listUrl)).data; + playlists = playlists.concat(data.list) + } + } + playlists.forEach(function(it) { + d.push({ + title: it.title, + url: it.file + }) + }); + VOD.vod_play_from = "bookan"; + VOD.vod_play_url = d.map(function(it) { + return it.title + "$" + it.url + }).join("#"); + `, + 搜索: '*', +} \ No newline at end of file diff --git a/JN/dr_py/js/播客[听].js b/JN/dr_py/js/播客[听].js new file mode 100644 index 00000000..b1ad6eee --- /dev/null +++ b/JN/dr_py/js/播客[听].js @@ -0,0 +1,73 @@ +var rule = { + 类型: '听书', + title: '播客', + host: 'https://getpodcast.xyz', + url: '/fyclass', + searchUrl: '', + searchable: 0, + quickSearch: 0, + headers: { + 'User-Agent': 'PC_UA' + }, + timeout: 5000, + class_name: '播客&人文&NEWS热点&影视与读书&教育&历史&音乐&情感&有声书', + class_url: '0&1&2&3&4&5&6&7&8', + cate_exclude: '', + play_parse: true, + lazy: `js: + input = {jx:0, url:input, parse:0} + `, + limit: 6, + 推荐: `js: + pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; + var d = []; + var html = request(HOST); + var list = pdfa(html, 'body&&.pic_list:eq(0)&&li'); + list.forEach(it => { + d.push({ + title: pdfh(it, '.title&&Text'), + pic_url: pdfh(it, 'img&&src'), + url: pd(it, 'a&&href') + '|' + pdfh(it, '.title&&Text') + '|' + pdfh(it, 'img&&src') + }); + }) + setResult(d); + `, + 一级: `js: + pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; + var d = []; + var html = request(HOST); + var list = pdfa(html, 'body&&.pic_list:eq(list_idx)&&li'.replace("list_idx", MY_CATE)); + list.forEach(it => { + d.push({ + title: pdfh(it, '.title&&Text'), + pic_url: pdfh(it, 'img&&src'), + url: pd(it, 'a&&href') + '|' + pdfh(it, '.title&&Text') + '|' + pdfh(it, 'img&&src') + }); + }) + setResult(d); + `, + 二级: `js: + pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; + let purl = input.split('|')[0]; + let title = input.split('|')[1]; + let pic = input.split('|')[2]; + var html = request(purl); + let d = []; + VOD = {}; + VOD.vod_name = title; + VOD.vod_pic = pic; + if (typeof play_url === 'undefined') { + var play_url = '' + } + let episodes = pdfa(html, 'body&&item'); + log('episodes =========>'+episodes); + let vod_play_url = episodes.map(function(it) { + let ititle = it.match(/(.*?)<\\/title>/)[1].replace(/<!\\[CDATA\\[|\\]\\]>||<!\\[CDATA\\[|\\]\\]>/g, ''); + let iurl = pdfh(it, 'enclosure&&url'); + return ititle + '$' + iurl + }).join('#') + VOD.vod_play_from = '道长在线'; + VOD.vod_play_url = vod_play_url + `, + 搜索: '', +} \ No newline at end of file diff --git a/JN/dr_py/js/有声小说吧[听].js b/JN/dr_py/js/有声小说吧[听].js new file mode 100644 index 00000000..b6366d4f --- /dev/null +++ b/JN/dr_py/js/有声小说吧[听].js @@ -0,0 +1,38 @@ +var rule = { + 类型: '听书', + title: '有声小说吧', + 编码: 'gb18030', + host: 'http://m.ysxs8.vip', + url: '/downlist/fyclass_fypage.html', + searchUrl: '/search.asp?page=fypage&searchword=**&searchtype=-1', + searchable: 2, + quickSearch: 0, + headers: { + 'User-Agent': 'MOBILE_UA' + }, + timeout: 5000, + // homeUrl:'/fenlei/', + // class_parse: '.pd-class:eq(0) dd;a&&Text;a&&href;.*/(.*?).html', + class_name: '网络玄幻&恐怖悬疑&传统武侠&都市言情&官场刑侦&历史军事&探险盗墓&职场商战&明朝那些事儿&评书下载&相声戏曲&人物传记&广播剧&百家讲坛&外语读物&有声文学&儿童读物&管理营销', + class_url: 'r52&r17&r12&r13&r14&r15&r45&r81&r36&r3&r7&r16&r18&r32&r35&r41&r4&r6', + play_parse: true, + lazy: '', + limit: 6, + // double:true, + 推荐: '.list-ul .list-li;.list-name&&Text;*;.module-slide-author&&Text;*', + 一级: '.book-ol&&li;h4&&Text;img&&data-original;.book-meta&&Text;a&&href', + 二级: { + // title:'h2&&Text;.book-cell .book-rand-a:eq(2)&&Text', + title: 'h1&&Text;.book-cell .book-rand-a:eq(0)&&a&&Text', + img: '.book img&&src', + // desc:';;;;.book-des p&&Text', + desc: ';;;.book-rand-a:eq(2)&&Text;.book-des p&&Text', + content: '.book-des--p&&Text', + tabs: '.playlist-top&&h2', + // lists:'js:pd=jsp.pd;let url=pd(html,".bookbutton&&a&&href");log(url);html=request(url);let v=pd(html,".booksite&&script&&Html");var document={};var VideoListJson;VideoListJson=eval(v.split("VideoListJson=")[1].split(",urlinfo")[0]);log(typeof VideoListJson);let list1=VideoListJson[0][1];LISTS=[list1];log(LISTS);', + // 有声小说有防盗链,我服了(上面的列表数据正常拿到了,没法播放) + // lists:'#playlist:eq(#id)&&ul&&li', + lists: '#playlist ul li', + }, + 搜索: '*', +} \ No newline at end of file diff --git a/JN/dr_py/js/有声绘本网[听].js b/JN/dr_py/js/有声绘本网[听].js new file mode 100644 index 00000000..e22cb9a7 --- /dev/null +++ b/JN/dr_py/js/有声绘本网[听].js @@ -0,0 +1,21 @@ +var rule = { + 类型: '听书', + title: '有声绘本网', + host: 'https://www.youshenghuiben.com', + url: '/fyclass/fypage', + searchUrl: '/search.php?&q=**&page=fypage', + searchable: 2, + quickSearch: 0, + filterable: 0, + headers: { + 'User-Agent': 'MOBILE_UA' + }, + timeout: 5000,//网站的全局请求超时,默认是3000毫秒 + class_parse: '#menu-main&&li:gt(0):lt(7);a&&Text;a&&href;com/(\\w+)', + play_parse: true, + limit: 6, + 推荐: '*', + 一级: 'article.excerpt-c5;a&&title;img&&src;.post-like&&Text;a&&href', + 二级: '*', + 搜索: 'article.excerpt-tw;*;*;time&&Text;*', +} \ No newline at end of file diff --git a/JN/dr_py/js/海洋听书[听].js b/JN/dr_py/js/海洋听书[听].js new file mode 100644 index 00000000..c90e8cfd --- /dev/null +++ b/JN/dr_py/js/海洋听书[听].js @@ -0,0 +1,60 @@ +var rule = { + 类型: '听书', + title: '海洋听书', + 编码: 'gb18030', + host: 'http://m.ychy.cc', + homeUrl: '/best.html', + url: '/list/fyclass_fypage.html', + searchUrl: '/search.asp?page=fypage&searchword=**&searchtype=-1', + searchable: 2, + quickSearch: 0, + headers: { + 'User-Agent': 'MOBILE_UA' + }, + class_name: '网络玄幻&恐怖悬疑&评书下载&儿童读物&相声戏曲&传统武侠&都市言情&历史军事&人物传记&广播剧&百家讲坛&有声文学&探险盗墓&职场商战', + class_url: '52&17&3&4&7&12&13&15&16&18&32&41&45&81', + play_parse: true, + lazy: '', + limit: 6, + double: true, + 推荐: '*', + 一级: '.list-ul li;.tit&&Text;img&&src;p span:eq(0)&&Text;a&&href', + 二级: { + title: 'h2&&Text;.info div:eq(4)&&Text', + img: '.bookimg img&&src', + desc: '.info div:eq(3)&&Text;;;.info div:eq(2)&&Text;.info div:eq(1)&&Text', + content: '.book_intro&&Text', + tabs: '.sub_tit', + lists: '#playlist li', + // lists: `js: + // pd = jsp.pd; + // let url = pd(html, ".bookbutton&&a&&href"); + // // log(url); + // html = request(url); + // let v = pd(html, ".booksite&&script&&Html"); + // var document = {}; + // var VideoListJson; + // VideoListJson = eval(v.split("VideoListJson=")[1].split(",urlinfo")[0]); + // // log(typeof VideoListJson); + // let list1 = VideoListJson[0][1]; + // LISTS = [list1]; + // // log(LISTS); + // `, + }, + 搜索: `js: + let d = []; + pdfh = jsp.pdfh;pdfa = jsp.pdfa;pd = jsp.pd; + // log(input); + let html = request(input); + var list = pdfa(html, '.book_slist&&.bookbox'); + list.forEach(function(it) { + d.push({ + title: pdfh(it, 'h4&&Text'), + desc: pdfh(it, '.update&&Text'), + pic_url: pd(it, 'img&&orgsrc'), + url: 'http://m.ychy.com/book/' + pdfh(it, '.bookbox&&bookid') + '.html' + }) + }); + setResult(d); + `, +} \ No newline at end of file diff --git a/JN/dr_py/js/爱上你听书网[听].js b/JN/dr_py/js/爱上你听书网[听].js new file mode 100644 index 00000000..af341900 --- /dev/null +++ b/JN/dr_py/js/爱上你听书网[听].js @@ -0,0 +1,28 @@ +var rule = { + 类型: '听书', + title: '爱上你听书网', + host: 'https://www.230ts.net', + url: '/sort/fyclass/fypage.html', + searchUrl: '/search.html?searchtype=name&searchword=**&page=fypage', + searchable: 2, + quickSearch: 0, + headers: { + 'User-Agent': 'PC_UA' + }, + timeout: 5000, + class_parse: '.nav-ol&&li:gt(0):lt(6);a&&Text;a&&href;.*/(\\w+).html', + play_parse: true, + lazy: 'js:input=input.replace("www","wap")', + limit: 6, + 推荐: '#myTab_Content1&&li;.tab-book-title&&Text;*;.tab-book-author&&Text;*', + 一级: 'ul.list-works&&li;.list-book-dt--span&&Text;.lazy&&data-original;.book-author:eq(2)&&a&&Text;a&&href', + 二级: { + title: '.book-cover&&alt;.book-info&&dd--span:eq(1)&&Text', + img: '.book-cover&&src', + desc: '.book-info&&dd:eq(4)&&Text;;;.book-info&&dd--span:eq(3)&&Text;.book-info&&dd--span:eq(2)&&Text', + content: '.book-des&&Text', + tabs: '.playlist-top&&h2', + lists: '#playlist:eq(#id)&&li', + }, + 搜索: '*', +} \ No newline at end of file diff --git a/JN/dr_py/js/黑料不打烊.js b/JN/dr_py/js/黑料不打烊.js index 6b42232b..6220a97b 100644 --- a/JN/dr_py/js/黑料不打烊.js +++ b/JN/dr_py/js/黑料不打烊.js @@ -48,9 +48,14 @@ var rule = { //log(input); // 测试:https://www.wakatool.com/base64img if (input) { + let t1 = new Date().getTime(); let _type = input.url.split('.').slice(-1)[0]; let data = request(input.url, {toBase64: true}); //log(data); + let t2 = new Date().getTime(); + log(`网络请求获取图片耗时:${t2 - t1}ms`); + log(`当前线程:${java.lang.Thread.currentThread().getName()}`); + let key = CryptoJS.enc.Utf8.parse("f5d965df75336270"); let iv = CryptoJS.enc.Utf8.parse("97b60394abc2fbe1"); let encrypted = CryptoJS.AES.decrypt({ @@ -61,9 +66,12 @@ var rule = { padding: CryptoJS.pad.Pkcs7 }).toString(CryptoJS.enc.Base64); let img_base64 = 'data:image/' + _type + ';base64,' + encrypted; - // input = [200, 'text/plain', img_base64]; + let t3 = new Date().getTime(); + log(`已获取图片${input.url}解密耗时:${t3 - t2}ms`); + // // input = [200, 'text/plain', img_base64]; // input = [302, 'text/html', '', {Location:'https://www.baidu.com'}]; input = [200, 'image/' + _type, img_base64, null, 1]; + // input = [200, 'text/plain', data]; } }), 预处理: $js.toString(() => {