diff --git a/JN/dr_py/js/家庭影视.js b/JN/dr_py/js/家庭影视.js new file mode 100644 index 00000000..b7f67f23 --- /dev/null +++ b/JN/dr_py/js/家庭影视.js @@ -0,0 +1,37 @@ +var rule = { + title: '家庭影视', + //host: 'http://103.242.3.90:565/', + host: 'http://a1.qiuyu.xyz:565/', + url: '/index.php/vod/show/id/fyclass/page/fypage.html', + searchUrl: '/index.php/vod/search/page/fypage/wd/**.html', + searchable: 2, + quickSearch: 0, + filterable: 0, + headers: { + 'User-Agent': 'MOBILE_UA', + }, + class_parse: '.navbar-items li:gt(0):lt(7);a&&Text;a&&href;/(\\d+).html', + play_parse: true, + lazy: `js: +let kcode = JSON.parse(request(input).match(/var player_.*?=(.*?) { + let m3u8=/url:'(.*?)'/g.exec(fetch(input))[1]; + input = { parse: 0, url: m3u8}; + }), + double: false, + 推荐: "body&&.module:eq(0);*;*;*;*;*", + 一级: ".video-frame;.title&&Text;img&&data-src;.label-remarks&&Text;a&&href", + 二级: { + title: ".title&&Text;tr:eq(4)&&Text", + img: ".lazyload&&data-original", + //主要信息;年代;地区;演员;导演 + desc: "tr:eq(7)&&Text;tr:eq(6)&&Text;tr:eq(2)&&Text;tr:eq(0)&&Text;tr:eq(1)&&Text;tr:eq(0)&&Text", + content: ".vod-story&&Text", + tabs: "", + lists: $js.toString(() => { + LISTS = []; + let list = pdfa(html, ".vod-playlist&&option"); + if (list.length == 0) { + LISTS.push(["1$" + MY_URL+ "/1"]) + } else { + list = list.map(it => pdfh(it, 'Text') + "$" + HOST + pdfh(it, 'option&&value')); + LISTS.push(list) + } + log(LISTS) + }), + }, + 搜索: "*" +}