123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549 |
- var rule = {
- title: "路漫漫",
- host: "http://www.lmm36.com",
- url: "/vod/show/id/fyclassfyfilter.html",
- searchUrl: '/vod/search/page/fypage/wd/**.html',
- searchable: 2,
- quickSearch: 0,
- filterable: 1,
- filter: {
- "3": [{
- "key": "年代",
- "name": "年代",
- "value": [{
- "n": "全部",
- "v": ""
- }, {
- "n": "2025",
- "v": "/year/2025"
- }, {
- "n": "2024",
- "v": "/year/2024"
- }, {
- "n": "2023",
- "v": "/year/2023"
- }, {
- "n": "2022",
- "v": "/year/2022"
- }, {
- "n": "2021",
- "v": "/year/2021"
- }, {
- "n": "2020",
- "v": "/year/2020"
- }, {
- "n": "2019",
- "v": "/year/2019"
- }, {
- "n": "2018",
- "v": "/year/2018"
- }, {
- "n": "2017",
- "v": "/year/2017"
- }, {
- "n": "2016",
- "v": "/year/2016"
- }, {
- "n": "2015",
- "v": "/year/2015"
- }, {
- "n": "更早",
- "v": "/year/2014-1980"
- }]
- }, {
- "key": "排序",
- "name": "排序",
- "value": [{
- "n": "最近更新",
- "v": "/by/time"
- }, {
- "n": "最高人气",
- "v": "/by/hits"
- }, {
- "n": "最高评分",
- "v": "/by/score"
- }, {
- "n": "最多点赞",
- "v": "/by/up"
- }]
- }],
- "4": [{
- "key": "年代",
- "name": "年代",
- "value": [{
- "n": "全部",
- "v": ""
- }, {
- "n": "2025",
- "v": "/year/2025"
- }, {
- "n": "2024",
- "v": "/year/2024"
- }, {
- "n": "2023",
- "v": "/year/2023"
- }, {
- "n": "2022",
- "v": "/year/2022"
- }, {
- "n": "2021",
- "v": "/year/2021"
- }, {
- "n": "2020",
- "v": "/year/2020"
- }, {
- "n": "2019",
- "v": "/year/2019"
- }, {
- "n": "2018",
- "v": "/year/2018"
- }, {
- "n": "2017",
- "v": "/year/2017"
- }, {
- "n": "2016",
- "v": "/year/2016"
- }, {
- "n": "2015",
- "v": "/year/2015"
- }, {
- "n": "更早",
- "v": "/year/2014-1980"
- }]
- }, {
- "key": "排序",
- "name": "排序",
- "value": [{
- "n": "最近更新",
- "v": "/by/time"
- }, {
- "n": "最高人气",
- "v": "/by/hits"
- }, {
- "n": "最高评分",
- "v": "/by/score"
- }, {
- "n": "最多点赞",
- "v": "/by/up"
- }]
- }],
- "5": [{
- "key": "年代",
- "name": "年代",
- "value": [{
- "n": "全部",
- "v": ""
- }, {
- "n": "2025",
- "v": "/year/2025"
- }, {
- "n": "2024",
- "v": "/year/2024"
- }, {
- "n": "2023",
- "v": "/year/2023"
- }, {
- "n": "2022",
- "v": "/year/2022"
- }, {
- "n": "2021",
- "v": "/year/2021"
- }, {
- "n": "2020",
- "v": "/year/2020"
- }, {
- "n": "2019",
- "v": "/year/2019"
- }, {
- "n": "2018",
- "v": "/year/2018"
- }, {
- "n": "2017",
- "v": "/year/2017"
- }, {
- "n": "2016",
- "v": "/year/2016"
- }, {
- "n": "2015",
- "v": "/year/2015"
- }, {
- "n": "更早",
- "v": "/year/2014-1980"
- }]
- }, {
- "key": "排序",
- "name": "排序",
- "value": [{
- "n": "最近更新",
- "v": "/by/time"
- }, {
- "n": "最高人气",
- "v": "/by/hits"
- }, {
- "n": "最高评分",
- "v": "/by/score"
- }, {
- "n": "最多点赞",
- "v": "/by/up"
- }]
- }],
- "6": [{
- "key": "年代",
- "name": "年代",
- "value": [{
- "n": "全部",
- "v": ""
- }, {
- "n": "2025",
- "v": "/year/2025"
- }, {
- "n": "2024",
- "v": "/year/2024"
- }, {
- "n": "2023",
- "v": "/year/2023"
- }, {
- "n": "2022",
- "v": "/year/2022"
- }, {
- "n": "2021",
- "v": "/year/2021"
- }, {
- "n": "2020",
- "v": "/year/2020"
- }, {
- "n": "2019",
- "v": "/year/2019"
- }, {
- "n": "2018",
- "v": "/year/2018"
- }, {
- "n": "2017",
- "v": "/year/2017"
- }, {
- "n": "2016",
- "v": "/year/2016"
- }, {
- "n": "2015",
- "v": "/year/2015"
- }, {
- "n": "更早",
- "v": "/year/2014-1980"
- }]
- }, {
- "key": "排序",
- "name": "排序",
- "value": [{
- "n": "最近更新",
- "v": "/by/time"
- }, {
- "n": "最高人气",
- "v": "/by/hits"
- }, {
- "n": "最高评分",
- "v": "/by/score"
- }, {
- "n": "最多点赞",
- "v": "/by/up"
- }]
- }],
- "7": [{
- "key": "年代",
- "name": "年代",
- "value": [{
- "n": "全部",
- "v": ""
- }, {
- "n": "2025",
- "v": "/year/2025"
- }, {
- "n": "2024",
- "v": "/year/2024"
- }, {
- "n": "2023",
- "v": "/year/2023"
- }, {
- "n": "2022",
- "v": "/year/2022"
- }, {
- "n": "2021",
- "v": "/year/2021"
- }, {
- "n": "2020",
- "v": "/year/2020"
- }, {
- "n": "2019",
- "v": "/year/2019"
- }, {
- "n": "2018",
- "v": "/year/2018"
- }, {
- "n": "2017",
- "v": "/year/2017"
- }, {
- "n": "2016",
- "v": "/year/2016"
- }, {
- "n": "2015",
- "v": "/year/2015"
- }, {
- "n": "更早",
- "v": "/year/2014-1980"
- }]
- }, {
- "key": "排序",
- "name": "排序",
- "value": [{
- "n": "最近更新",
- "v": "/by/time"
- }, {
- "n": "最高人气",
- "v": "/by/hits"
- }, {
- "n": "最高评分",
- "v": "/by/score"
- }, {
- "n": "最多点赞",
- "v": "/by/up"
- }]
- }],
- "8": [{
- "key": "年代",
- "name": "年代",
- "value": [{
- "n": "全部",
- "v": ""
- }, {
- "n": "2025",
- "v": "/year/2025"
- }, {
- "n": "2024",
- "v": "/year/2024"
- }, {
- "n": "2023",
- "v": "/year/2023"
- }, {
- "n": "2022",
- "v": "/year/2022"
- }, {
- "n": "2021",
- "v": "/year/2021"
- }, {
- "n": "2020",
- "v": "/year/2020"
- }, {
- "n": "2019",
- "v": "/year/2019"
- }, {
- "n": "2018",
- "v": "/year/2018"
- }, {
- "n": "2017",
- "v": "/year/2017"
- }, {
- "n": "2016",
- "v": "/year/2016"
- }, {
- "n": "2015",
- "v": "/year/2015"
- }, {
- "n": "更早",
- "v": "/year/2014-1980"
- }]
- }, {
- "key": "排序",
- "name": "排序",
- "value": [{
- "n": "最近更新",
- "v": "/by/time"
- }, {
- "n": "最高人气",
- "v": "/by/hits"
- }, {
- "n": "最高评分",
- "v": "/by/score"
- }, {
- "n": "最多点赞",
- "v": "/by/up"
- }]
- }]
- },
- filter_url: "{{fl.排序}}{{fl.年代}}/page/fypage",
- filter_def: "",
- headers: {
- "User-Agent": "MOBILE_UA"
- },
- timeout: 5000,
- class_name: "日本动漫&国产动漫&欧美动漫&日本动画电影&国产动画电影&欧美动画电影",
- class_url: "6&7&8&3&4&5",
- class_parse: "",
- cate_exclude: "",
- play_parse: true,
- lazy: $js.toString(() => {
- function getDAesString(token) {
- eval(getCryptoJS());
- var key = CryptoJS.enc.Utf8.parse("ejjooopppqqqrwww");
- var iv = CryptoJS.enc.Utf8.parse("1348987635684651");
- var token = CryptoJS.AES.decrypt(token, key, {
- iv: iv,
- mode: CryptoJS.mode.CBC,
- padding: CryptoJS.pad.Pkcs7,
- });
- return token.toString(CryptoJS.enc.Utf8);
- }
- var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
- var url = html.url;
- var from = html.from;
- if (html.encrypt == "1") {
- url = unescape(url);
- } else if (html.encrypt == "2") {
- url = unescape(base64Decode(url));
- }
- if (/\.mp4|\.m3u8|\.flv/.test(url)) {
- input = {
- parse: 0,
- url: url.split("&")[0],
- js: ''
- };
- } else {
- var jsh = request(HOST + "/static/player/" + from + ".js", {
- headers: {
- Referer: input
- },
- }).match(/\.src\s*=\s*(.*?);/)[1];
- //log(MY_HOME);
- if (/type=/.test(jsh)) {
- jsh = jsh
- .replace(/[\+\s']/g, "")
- .replace(/MacPlayer.Parse/, "")
- .replace(/MacPlayer.PlayUrl/, url)
- .replace(/window.location.href/, input);
- var playht = fetch(jsh, {
- headers: {
- Referer: HOST
- }
- });
- } else {
- jsh = jsh
- .replace(/[\+\s']/g, "")
- .replace(/MacPlayer.Parse/, "")
- .replace(/MacPlayer.PlayUrl/, url)
- .replace(/window.location.href/, input);
- jsh = JSON.parse(
- fetch(jsh, {
- headers: {
- Referer: HOST
- },
- onlyHeaders: true
- })
- ).url;
- var playht = fetch(jsh, {
- headers: {
- Referer: HOST
- }
- });
- }
- var postapi = jsh.match(/^(.*?\/\/.*?\/.*?\/)/)[1];
- var posturl = postapi + playht.match(/post\("(.*?)"/)[1];
- if (/act\s*=/.test(playht)) {
- var vid = playht.match(/vid\s*=\s*"(.*?)"/)[1];
- var t = playht.match(/var\s*t\s*=\s*"(.*?)"/)[1];
- var token = playht.match(/token\s*=\s*"(.*?)"/)[1];
- var act = playht.match(/act\s*=\s*"(.*?)"/)[1];
- var play = playht.match(/play\s*=\s*"(.*?)"/)[1];
- token = getDAesString(token);
- var data = JSON.parse(
- post(posturl, {
- headers: {
- Referer: HOST
- },
- body: {
- vid: vid,
- t: t,
- token: token,
- act: act,
- play: play,
- },
- timeout: 5000
- })
- );
- input = {
- parse: 0,
- url: data.url,
- js: ''
- };
- } else {
- var key = "";
- playht.match(/var (\w+)="(.*?)";/g).forEach(function(list) {
- key += list.match(/"(.*?)"/)[1];
- });
- const bodys = JSON.parse(
- playht
- .match(/post\(.*?,(.*?),\n/)[1]
- .replace(/"keyyy"\s*:\s*''.*?''/, '"keyyy" : "' + key + '"')
- );
- var data = JSON.parse(
- post(posturl, {
- headers: {
- Referer: HOST
- },
- body: bodys
- })
- );
- if (data.ext == "xgplayer") {
- var dataurl =
- "https://yun.366day.site/mp4hls/xgplayer.php?vid=" + data.url;
- var video = fetch(dataurl, {
- headers: {
- Referer: jsh
- }
- }).match(
- /"url": "(.*?)"/
- )[1];
- input = {
- parse: 0,
- url: video,
- js: ''
- };
- } else if (data.ext == "hls" || data.ext == "hls_list") {
- input = {
- parse: 0,
- url: decodeURIComponent(data.url),
- js: ''
- };
- } else {
- input = {
- parse: 0,
- url: data.url,
- js: ''
- };
- }
- }
- }
- }),
- double: false,
- 推荐: "*",
- 一级: ".video-img-box;h6.title&&Text;.lazyload&&data-src;.label&&Text;a&&href",
- 二级: {
- title: ".page-title&&Text;.tag-link&&Text",
- img: ".module-item-pic&&.lazyload&&src",
- desc: ".video-info-items:eq(3)&&Text;.video-info-items:eq(2)&&Text;;.video-info-items:eq(1)&&Text;.video-info-items:eq(0)&&Text",
- content: ".video-info-content&&Text",
- tabs: ".module-tab-item.tab-item",
- lists: ".module-player-list:eq(#id) a",
- tab_text: "body&&Text",
- list_text: "body&&Text",
- list_url: "a&&href"
- },
- detailUrl: "",
- 搜索: "*"
- }
|