From 8f6747fc8deec7527b154a3f3918186215b65d7f Mon Sep 17 00:00:00 2001 From: n3rddd <119649988+n3rddd@users.noreply.github.com> Date: Sat, 8 Jun 2024 18:51:49 +0800 Subject: [PATCH] Add files via upload --- JN/dr_py/js/爱爱影院.js | 1 + JN/dr_py/js/黑料不打烊-z.js | 1 + JN/dr_py/js/黑料不打烊.js | 119 ++++++++++++++++++++++++++++++++++++ 3 files changed, 121 insertions(+) create mode 100644 JN/dr_py/js/爱爱影院.js create mode 100644 JN/dr_py/js/黑料不打烊-z.js create mode 100644 JN/dr_py/js/黑料不打烊.js diff --git a/JN/dr_py/js/爱爱影院.js b/JN/dr_py/js/爱爱影院.js new file mode 100644 index 00000000..cf2aee3d --- /dev/null +++ b/JN/dr_py/js/爱爱影院.js @@ -0,0 +1 @@ +H4sIAAAAAAAAA3VTSW/bRhS+61cQPlCWrYiLdrlGoZ3aLGuhtqJwRuJQXEWKHGqhK6C5FC2Qtk43oECAFrkkl6II0EPqLvkzsR3f+hM6FOXGKFqCIOd9773vrbMAFmE5GiSOifMAcJBkWBkiePvbk6svf37z60UwHEAy0iDGbj59id+rP17efv8Mw5JhI4xKCJl2hqJYdgkiUxlJzjgiG1hcCGBnVbWxnQYRISFdO7bg3IE22ueanW74XIJAgJadOd/jbWg9yE7hDO1lGs1cpV4847ObTejI87StyTGh2GbEFERp3+MJ740NYU2SjkaSIAPn+0yIJCULinuhI4/6GLt48Xf8xHnwXYAgzuefEMFNOHDz+3c3Pz7CqIPEB6ltzTo0HFxfnKbpcACXoUPe0rAFhbWOf5JnAlxFTMmkFoZAobUJKVmgxLUoawhalAmmEEveL+JljB19zZnvf34uapEJQLAibDZYKUAEZM2PgkUbAmsi8f8VylfdD0AtBerg4C6Mrwdjb2xMmAjMHXmidragD/h5vDMITDRg22czoHuDfvv8k9tnT968+vjq8SW5Ey4f3xNefYYFHMf38qthSJaMvitRgCLueYDBH79Ez8RrNXsfYT0keh+JBjcBjAUQGJ9Z0E/oPHj76Ovbb19fPX1xc/naG95fP1xc+tL1Vz9df/OnR2NqYH1mAsvGHshyIEY8YZcezkwD7jpDPFTsTGCBl16dGIK39dVO8ySyNd2/W015ZjooFNEBmkj7lGfskeOqIgfvH+/jT+g9KvQB82HoyGfCITDRljCCz0cBWST2KT3qpD7SzRgVQR6pZxUK4Z5s2b3rRiirDEGHiV3S+LTNdUuHu0BAzYb/b878y/wh7pom6zJe2jReJsPZTlcEmCQcuP7ixdvPL3AfDnAj8GRvLp9jIWIZy8jE0OKEgI4ASW5v+pGsT0lSAAg8wFfoSCbJLlxt1d7t8twvH/vuHtf1xdObX57thN3wscTF7Er27kmwnTWdzLdynXI6yjb642arguJsfabmTmKtEt8bwZ5uyvmKepKVq+teq1jIqiVT5ucteVkpwZHV1MVKvzAvc3PgjrpcvamlG/EUxZ927HY1ba06am7JWfYUNsWOmHNX3KrINanaJDewTpt6adhZ1JP0jHGXkiJU3Jk8bptzd8KdwviUrzbBykkIYuukJXEupwyGGqrnK3xZKxxKfLnBrIb18TyZnZSiuVl+yEh5qrJiZatFjxolITVQzRTQa2BqpLPF2ayNZCNp691CfCiwc6WrFmdNnW4oPY7Ta1JlxJfGtZlj2ygxjEpDO+HU3IVZUCe0VByYh4yQKzulkdk/bLedWM9crVUzva73W+OpkQC5ucJJYrabaDutfpoyqkuaXdGVUbxc41I1uSdYRnlsNnvj1SBq5aqKeyLE2Oqwapi8XjhRkvFchdcH2L+bj9ZjnDobuCNDKaJxV++bNnOYS7aQu+R5Jm/HFJqtM+kRpQzdFFvTY6oi1OjESWfIHsbjBbA4Xel6LyEqeJYiPZyrtkF13NPopMbmVDU3lw+tyWgRF0d6p82IdIGP2gwbZRpqMp9eN9Mp4PbLvVJ8qNJViivGYslEq4A35TgY2PwNuKSYrZEGAAA= \ No newline at end of file diff --git a/JN/dr_py/js/黑料不打烊-z.js b/JN/dr_py/js/黑料不打烊-z.js new file mode 100644 index 00000000..c9c8388b --- /dev/null +++ b/JN/dr_py/js/黑料不打烊-z.js @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pYsoQZpxAc2UcgFNBIqIhsR6lNbOE2traiQShZetu0Awh9OOs8UDRJ89qN984YmjtD5mdniDs3MzU1OzlXKQJh7eMx5uc2ZytT89N405l0N2m1CEPQXSH3jUJ6X8YJuhrFzbRTDWPQlnKYkkoe5dzKqkWokhmHdsrS9XJBiTQDIlsa7LGX3122r32wvDp3DRMC7TRtxLkUtmvwk2fYwMnSCuofDtpz1hvzJLeOHzQM2u/rA9WVmnCprGdVD8AB1mxYURA0mCvLwV45PxtNbs9uNc5cm70+x266FzaDS/5H4kJjyp32dj+0QLEeTVUquxWtPKp1JEeGeuAxHel0pqK0NGRqWKmn18WxN5TMYwu3I9VKFwaWm1St6wc/PT744U8d+k7v3m+9z/6Sf+0/+Wr/yTP515vn9/999KuSPn325vfv9QEcRhKUilSpytekfE3J13RWWRnsd28moHebw41VHjfp5cNRk42jzkhNGl1nG+ViBWkIVER5IKZjReE97OHS7EJuyJAt+DDIMkPp3MCaDAbL2eQ/2yZBrCa3vsbrl5/2Xv1ce/voIMdMsJyfGI4dLuQOeT2otj/BBG3q5thY4e0ohcPBlaAwBWUnPakImMDvUilo+QEmetFdGPpMGJqumevVjSHI5CJNIA8B0wlxAExqq8G94AiWEpRKN6CpDGyTvV1JzYJaIqPokvlKUL/KhRrgeU0GpVhKaORA5VW0YrH6koDXkHCwb3UL2Qf3ynUaxb4wiJkj3+tXXygSaafAsFrZf/i098ePJ6AVKSj2+GhKSRO5JG+NnAqMlCiEQd+I1ZiYj6YctcDPbO6zbmS4mhlsvHwOLQliSbWF/8lZKbeEFzc3F0ZQ8Nb4naMvlq4tP7NYm0b2+B21lZGu+ra7NXYi+qTUSawW8ydhh9JwoJfDfVQHLwsUR5OskEG5C8A8ji5j3f8ATfrkPBkPAAA= \ 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..6b42232b --- /dev/null +++ b/JN/dr_py/js/黑料不打烊.js @@ -0,0 +1,119 @@ +var rule = { + title: '黑料不打烊', + host: 'https://hl49.co', + url: '/category/fyclass/fypage.html', + searchUrl: '/index/search_article?word=**&page=fypage', + searchable: 1, + quickSearch: 0, + filterable: 0, + headers: { + 'User-Agent': 'Mozilla/5.0', + }, + class_name: '首页&热点&明星&奇葩&真实', + class_url: '0&1&2&3&4', + hostJs: $js.toString(() => { + HOST = 'https://mgj.uzrpy.com'; + try { + let html = request(rule.host); + HOST = pdfh(html, ".box-wrap&&a&&href") || HOST; + } catch (e) { + log(`获取Host错误${e.message}`); + } + }), + hikerListCol: "card_pic_1", + hikerClassListCol: "card_pic_1", + lazy: typeof MY_NAME !== "undefined" ? $js.toString(() => { + var list = jsp.pdfa(request(input), '.dplayer'); + input = { + parse: "" + }; + if (list.length === '1') { + let url = JSON.parse(pdfh(list[0], '.dplayer&&config')).video.url; + input.url = url.startsWith("http") ? url : "https://hls.vdtuzv.com" + url; + } else { + var a = [] + list.forEach((data, id) => a.push('第' + (id + 1) + '部')) + input.url = $(a, 1) + .select(list => { + input = input.match(/\d+/)[0] - 1 + return $(JSON.parse(pdfh(list[input], '.dplayer&&config')) + .video.url) + .lazyRule(() => input.startsWith("http") ? input : "https://hls.vdtuzv.com" + input) + }, list) + } + }) : void 0, + play_parse: true, + limit: 6, + proxy_rule: $js.toString(() => { + //log(input); + // 测试:https://www.wakatool.com/base64img + if (input) { + let _type = input.url.split('.').slice(-1)[0]; + let data = request(input.url, {toBase64: true}); + //log(data); + let key = CryptoJS.enc.Utf8.parse("f5d965df75336270"); + let iv = CryptoJS.enc.Utf8.parse("97b60394abc2fbe1"); + let encrypted = CryptoJS.AES.decrypt({ + ciphertext: CryptoJS.enc.Base64.parse(data) + }, key, { + iv: iv, + mode: CryptoJS.mode.CBC, + padding: CryptoJS.pad.Pkcs7 + }).toString(CryptoJS.enc.Base64); + let img_base64 = 'data:image/' + _type + ';base64,' + encrypted; + // input = [200, 'text/plain', img_base64]; + // input = [302, 'text/html', '', {Location:'https://www.baidu.com'}]; + input = [200, 'image/' + _type, img_base64, null, 1]; + } + }), + 预处理: $js.toString(() => { + rule.cate_exclude = ''; + }), + 一级: $js.toString(() => { + let d = []; + let html = request(input); + let list = pdfa(html, '.video-item'); + list.forEach(item => { + var pic = pdfh(item, 'img&&onload'); + var url = pd(item, 'a&&href', MY_URL); + var title = pdfh(item, '.title&&Text'); + if (title) { + d.push({ + title: title, + img: pic, + desc: "0", + url: url + }); + } + }); + setResult(d); + }), + //一级: '.video-item;.title&&Text;img&&onload;;a&&href', + 图片替换: $js.toString(() => { + if (/loadImg/.test(input)) { + input = input.split("'")[1]; + } + input = getProxyUrl() + '&url=' + input; + }), + 二级: "*", + 搜索: $js.toString(() => { + let d = []; + let u = input.split("?"); + let h = post(u[0], { + body: u[1] + }); + let list = JSON.parse(h).data.list; + + list.forEach(item => { + let pic = item.thumb; + let url = `${rule.host}/archives/${item.id}.html` + d.push({ + title: item.title, + desc: item.created_date, + img: pic, + url: url + }); + }); + setResult(d); + }) +} \ No newline at end of file