diff --git a/base/custom.conf b/base/custom.conf index f25db08..11d8051 100644 --- a/base/custom.conf +++ b/base/custom.conf @@ -141,16 +141,16 @@ {"key":"js_origin_puto","name":"原始JS(pluto)","type":3,"api":"js_origin_test","searchable":1,"quickSearch":1,"filterable":1,"ext":"{{host}}/txt/js/原始JS/origin.js"}, {"key":"js_origin_tvb","name":"原始JS(俊tvb)","type":3,"api":"{{host}}/txt/js/origin/原始JS.js","searchable":1,"quickSearch":1,"filterable":1,"ext":"{}"}, {"key":"drpy_zbk","name":"真不卡(drpy)","type":3,"api":"js_drpy_zbk","searchable":1,"quickSearch":1,"filterable":1,"ext":"{{host}}/txt/pluto/drpy.js"}, -{"key": "dr_MXONE", "name": "MXONE(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=MXONE&ext=txt/js/tg/MXONE.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, -{"key": "dr_Nike影视", "name": "Nike影视(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=Nike影视&ext=txt/js/tg/Nike影视.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, -{"key": "dr_两个BT", "name": "两个BT(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=两个BT&ext=txt/js/tg/两个BT.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, -{"key": "dr_剧迷", "name": "剧迷(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=剧迷&ext=txt/js/tg/剧迷.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, -{"key": "dr_天空影视2", "name": "天空影视(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=天空影视&ext=txt/js/tg/天空影视.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, -{"key": "dr_快云影院", "name": "快云影院(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=快云影院&ext=txt/js/tg/快云影院.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, -{"key": "dr_爱看电影", "name": "爱看电影(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=爱看电影&ext=txt/js/tg/爱看电影.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, -{"key": "dr_特狗影视", "name": "特狗影视(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=特狗影视&ext=txt/js/tg/特狗影视.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, -{"key": "dr_皮皮泡", "name": "皮皮泡(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=皮皮泡&ext=txt/js/tg/皮皮泡.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, -{"key": "dr_胖虎影视", "name": "胖虎影视(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=胖虎影视&ext=txt/js/tg/胖虎影视.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_MXONE", "name": "MXONE(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=MXONE&ext=txt/js/tg/MXONE.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_Nike影视", "name": "Nike影视(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=Nike影视&ext=txt/js/tg/Nike影视.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_两个BT", "name": "两个BT(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=两个BT&ext=txt/js/tg/两个BT.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_剧迷", "name": "剧迷(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=剧迷&ext=txt/js/tg/剧迷.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_天空影视2", "name": "天空影视(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=天空影视&ext=txt/js/tg/天空影视.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_快云影院", "name": "快云影院(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=快云影院&ext=txt/js/tg/快云影院.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_爱看电影", "name": "爱看电影(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=爱看电影&ext=txt/js/tg/爱看电影.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_特狗影视", "name": "特狗影视(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=特狗影视&ext=txt/js/tg/特狗影视.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_皮皮泡", "name": "皮皮泡(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=皮皮泡&ext=txt/js/tg/皮皮泡.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, +# {"key": "dr_胖虎影视", "name": "胖虎影视(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=胖虎影视&ext=txt/js/tg/胖虎影视.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, {"key": "dr_18av", "name": "18av(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=18av&ext=txt/js/18/18av.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, {"key": "dr_banan", "name": "banan(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=banan&ext=txt/js/18/banan.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, {"key": "dr_Missav", "name": "Missav(道长)", "type": 1, "api": "{{host}}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=Missav&ext=txt/js/18/Missav.js", "searchable": 2, "quickSearch": 0, "filterable": 0}, diff --git a/js/100影院.js b/js/100影院.jsd similarity index 100% rename from js/100影院.js rename to js/100影院.jsd diff --git a/js/333影视.js b/js/333影视.jsd similarity index 100% rename from js/333影视.js rename to js/333影视.jsd diff --git a/js/555影视[飞].js b/js/555影视[飞].jsd similarity index 100% rename from js/555影视[飞].js rename to js/555影视[飞].jsd diff --git a/js/555电影[V2].js b/js/555电影[V2].jsd similarity index 100% rename from js/555电影[V2].js rename to js/555电影[V2].jsd diff --git a/js/74听书.js b/js/74听书.jsd similarity index 100% rename from js/74听书.js rename to js/74听书.jsd diff --git a/js/8K影视.js b/js/8K影视.jsd similarity index 100% rename from js/8K影视.js rename to js/8K影视.jsd diff --git a/js/9U电影.js b/js/9U电影.js index 32ea831..5ce7626 100644 --- a/js/9U电影.js +++ b/js/9U电影.js @@ -26,6 +26,7 @@ var rule={ 推荐:'*', double:false, // 推荐内容是否双层定位 一级: '.module-items .module-item;a&&title;.lazyload&&data-original;.module-item-note&&Text;a&&href', + 二级访问前:'log(MY_URL);MY_URL=MY_URL.replace("play","detail").replace("/sid/1/nid/1","")', 二级: { "title": "h1&&Text;.module-info-tag&&Text", "img": ".ls-is-cached&&data-original", diff --git a/js/BD360.js b/js/BD360.jsd similarity index 100% rename from js/BD360.js rename to js/BD360.jsd diff --git a/js/FreeOK.js b/js/FreeOK.jsd similarity index 100% rename from js/FreeOK.js rename to js/FreeOK.jsd diff --git a/js/HG影院[V2].js b/js/HG影院[V2].js index c8c23f6..15b29a6 100644 --- a/js/HG影院[V2].js +++ b/js/HG影院[V2].js @@ -2,8 +2,8 @@ var rule = { title: 'HG影院[V2]', // csp_AppYsV2 host: 'https://www.hgyx.vip', hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"a:eq(0)&&href");print(src);HOST=src', - // homeUrl:'/api.php/v1.vod/vodPhbAll', - homeUrl:'/api.php/v1.vod?limit=12&page=1', + homeUrl:'/api.php/v1.vod/vodPhbAll', + // homeUrl:'/api.php/v1.vod?limit=12&page=1', // url: '/api.php/v1.vod?type=fyclass&limit=20&page=fypage', url: '/api.php/v1.vod?type=fyclassfyfilter&limit=20&page=fypage', filter_url:'&class={{fl.class}}&area={{fl.area}}&lang={{fl.lang}}&year={{fl.year}}&by={{fl.by}}', @@ -23,9 +23,10 @@ var rule = { class_name:'4k影视剧&4k影视片&综艺&4k动漫', // 分类筛选 /api.php/v1.vod/types class_url:'2&1&3&4', play_parse:true, - lazy:'js:input = /m3u8|mp4/.test(input)?input:"https://jx.hgyx.vip/?url="+input', + lazy:'js:input = /hgyx.vip/.test(input)?{jx:0,url:input,parse:0,header:JSON.stringify({"user-agent":"Lavf/58.12.100"})}:/m3u8|mp4/.test(input)?input:input', limit:6, - 推荐:'*', + 推荐:'json:data.list;vod_list;*;*;*;*', + double: true, 一级:'json:data.list;vod_name;vod_pic;vod_remarks;vod_id', 二级:'js:try{let html=request(input);print(html);html=JSON.parse(html);let node=html.data;VOD={vod_id:node["vod_id"],vod_name:node["vod_name"],vod_pic:node["vod_pic"],type_name:node["vod_class"],vod_year:node["vod_year"],vod_area:node["vod_area"],vod_remarks:node["vod_remarks"],vod_actor:node["vod_actor"],vod_director:node["vod_director"],vod_content:node["vod_content"].strip()};let episodes=node.vod_play_list;let playMap={};if(typeof play_url==="undefined"){var play_url=""}episodes.forEach(function(ep){let source=ep["player_info"]["show"];if(!playMap.hasOwnProperty(source)){playMap[source]=[]}playMap[source].append(ep["url"])});let playFrom=[];let playList=[];Object.keys(playMap).forEach(function(key){playFrom.append(key);playList.append(playMap[key])});let vod_play_from=playFrom.join("$$$");let vod_play_url=playList.join("$$$");VOD["vod_play_from"]=vod_play_from;VOD["vod_play_url"]=vod_play_url}catch(e){log("获取二级详情页发生错误:"+e.message)}', 搜索:'*', diff --git a/js/IMAX影视.js b/js/IMAX影视.jsd similarity index 100% rename from js/IMAX影视.js rename to js/IMAX影视.jsd diff --git a/js/JRS录像.js b/js/JRS录像.jsd similarity index 100% rename from js/JRS录像.js rename to js/JRS录像.jsd diff --git a/js/LIBVIO.js b/js/LIBVIO.js index 3b849ed..6c5e6ee 100644 --- a/js/LIBVIO.js +++ b/js/LIBVIO.js @@ -28,7 +28,21 @@ var rule = { // class_parse:'.stui-header__menu li;a&&Text;a&&href;/.*_(\\d+).html', tab_exclude:'夸克网盘|百度云盘', pagecount:{"27":1}, - lazy:'js:var html=JSON.parse(request(input).match(/r player_.*?=(.*?)