18/tvbox/gaotianliuyun/lib/两个BT.js

41 lines
8.3 KiB
JavaScript
Raw Permalink Normal View History

2024-07-12 05:14:45 +00:00
// 地址发布页 https://www.bttwo.vip/
var rule = {
title:'两个BT',
// host:'https://www.bttwo.net',
host:'https://www.bttwo.vip/',
hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src = jsp.pdfh(html,"li:eq(0)&&a&&href");print(src);HOST=src',//网页域名根动态抓取js代码。通过HOST=赋值
// url:'/fyclass/page/fypage',
url:'/fyclassfyfilter',
filterable:1,//是否启用分类筛选,
filter_url:'{{fl.area}}{{fl.year}}{{fl.class}}/page/fypage',
filter:{
"movie_bt":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"v":"/movie_bt_tags/zj","n":"传记"},{"v":"/movie_bt_tags/ertong","n":"儿童"},{"v":"/movie_bt_tags/adt","n":"冒险"},{"v":"/movie_bt_tags/juqing","n":"剧情"},{"v":"/movie_bt_tags/at","n":"动作"},{"v":"/movie_bt_tags/donghua","n":"动画"},{"v":"/movie_bt_tags/lishi","n":"历史"},{"v":"/movie_bt_tags/guzhuang","n":"古装"},{"v":"/movie_bt_tags/tongxing","n":"同性"},{"v":"/movie_bt_tags/xiju","n":"喜剧"},{"v":"/movie_bt_tags/qihuan","n":"奇幻"},{"v":"/movie_bt_tags/jiating","n":"家庭"},{"v":"/movie_bt_tags/kongbu","n":"恐怖"},{"v":"/movie_bt_tags/xuanni","n":"悬疑"},{"v":"/movie_bt_tags/qingse","n":"情色"},{"v":"/movie_bt_tags/jingsong","n":"惊悚"},{"v":"/movie_bt_tags/戏曲","n":"戏曲"},{"v":"/movie_bt_tags/zhanzheng","n":"战争"},{"v":"/movie_bt_tags/gw","n":"歌舞"},{"v":"/movie_bt_tags/wuxia","n":"武侠"},{"v":"/movie_bt_tags/zhannan","n":"灾难"},{"v":"/movie_bt_tags/aiqing","n":"爱情"},{"v":"/movie_bt_tags/fanzui","n":"犯罪"},{"v":"/movie_bt_tags/短片","n":"短片"},{"v":"/movie_bt_tags/kehuan","n":"科幻"},{"v":"/movie_bt_tags/jilu","n":"纪录片"},{"v":"/movie_bt_tags/xibu","n":"西部"},{"v":"/movie_bt_tags/yd","n":"运动"},{"v":"/movie_bt_tags/yinyue","n":"音乐"},{"v":"/movie_bt_tags/黑色电影","n":"黑色电影"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"v":"/movie_bt_cat/不丹","n":"不丹"},{"v":"/movie_bt_cat/ny","n":"东南亚"},{"v":"/movie_bt_cat/zhonji","n":"中国"},{"v":"/movie_bt_cat/zhogngtw","n":"中国台湾"},{"v":"/movie_bt_cat/dl","n":"中国大陆"},{"v":"/movie_bt_cat/zhongguoxg","n":"中国香港"},{"v":"/movie_bt_cat/dm","n":"丹麦"},{"v":"/movie_bt_cat/wuklan","n":"乌克兰"},{"v":"/movie_bt_cat/yisl","n":"以色列"},{"v":"/movie_bt_cat/yl","n":"伊朗"},{"v":"/movie_bt_cat/els","n":"俄罗斯"},{"v":"/movie_bt_cat/baojialiya","n":"保加利亚"},{"v":"/movie_bt_cat/克罗地亚","n":"克罗地亚"},{"v":"/movie_bt_cat/bingda","n":"冰岛"},{"v":"/movie_bt_cat/jnd","n":"加拿大"},{"v":"/movie_bt_cat/匈牙利","n":"匈牙利"},{"v":"/movie_bt_cat/nasilafu","n":"南斯拉夫"},{"v":"/movie_bt_cat/nanfei","n":"南非"},{"v":"/movie_bt_cat/kaer","n":"卡塔尔"},{"v":"/movie_bt_cat/luob","n":"卢森堡"},{"v":"/movie_bt_cat/yindu","n":"印度"},{"v":"/movie_bt_cat/印度尼西亚","n":"印度尼西亚"},{"v":"/movie_bt_cat/taiwan","n":"台湾"},{"v":"/movie_bt_cat/gelunbiya","n":"哥伦比亚"},{"v":"/movie_bt_cat/tuerqi","n":"土耳其"},{"v":"/movie_bt_cat/saierweiya","n":"塞尔维亚"},{"v":"/movie_bt_cat/moxige","n":"墨西哥"},{"v":"/movie_bt_cat/aodili","n":"奥地利"},{"v":"/movie_bt_cat/nirily","n":"尼日利亚"},{"v":"/movie_bt_cat/bx","n":"巴西"},{"v":"/movie_bt_cat/xl","n":"希腊"},{"v":"/movie_bt_cat/德国","n":"德国"},{"v":"/movie_bt_cat/ydl","n":"意大利"},{"v":"/movie_bt_cat/nw","n":"挪威"},{"v":"/movie_bt_cat/jirker","n":"捷克"},{"v":"/movie_bt_cat/摩洛哥","n":"摩洛哥"},{"v":"/movie_bt_cat/siluofake","n":"斯洛伐克"},{"v":"/movie_bt_cat/xinjip","n":"新加坡"},{"v":"/movie_bt_cat/xinxilan","n":"新西兰"},{"v":"/movie_bt_cat/rb","n":"日本"},{"v":"/movie_bt_cat/rihan","n":"日韩"},{"v":"/movie_bt_cat/omei","n":"欧美"},{"v":"/movie_bt_cat/bilishi","n":"比利时"},{"v":"/movie_bt_cat/fg","n":"法国"},{"v":"/movie_bt_cat/bolan","n":"波兰"},{"v":"/movie_bt_cat/波多黎各","n":"波多黎各"},{"v":"/movie_bt_cat/taigyo","n":"泰国"},{"v":"/movie_bt_cat/gangtai","n":"港台"},{"v":"/movie_bt_cat/adly","n":"澳大利亚"},{"v":"/movie_bt_cat/arl","n":"爱尔兰"},{"v":"/movie_bt_cat/asny","n":"爱沙尼亚"},{"v":"/movie_bt_cat/瑞典","n":"瑞典"},{"v":"/movie_bt_cat/ruishi","n":"瑞士"},{"v":"/movie_bt_cat/baierls","n":"白俄罗斯"},{"v":"/movie_bt_cat/tunisi","n":"突尼斯"},{"v":"/movie_bt_cat/ltwan","n":"立陶宛"},{"v":"/movie_bt_cat/lmny","n":"罗马尼亚"},{"v":"/movie_bt_cat/mg","n":"美国"},{"v":"/movie_bt_cat/芬兰","n":"芬兰"},{"v":"/movie_bt_cat/yg","n":"英国"},{"v"
},
searchUrl:'/xssearch?q=**&f=_all&p=fypage',
// searchUrl:'/xsssearch?q=**&f=_all&p=fypage',
searchable:2,
quickSearch:0,
headers:{
'User-Agent':'PC_UA'
},
timeout:5000,
class_name:'影视筛选&电视剧&高分电影&热门下载&本月热门&最新电影&国产剧&美剧&日韩剧',//静态分类名称拼接
class_url:'movie_bt&dsj&gf&hot&hot-month&new-movie&zgjun&meiju&jpsrtv',//静态分类标识拼接
// class_parse: '.navlist li:gt(0):lt(7);a&&Text;a&&href;.*/(\\w+)',
play_parse:true,
lazy:'',
limit:5,
推荐:'.leibox;li;*;*;*;*',
double:true, // 推荐内容是否双层定位
一级:'.bt_img li;.lazy&&alt;.thumb.lazy&&data-original;.jidi span&&Text;a&&href',
二级:{
"title":"h1&&Text;.moviedteail_list&&li:eq(0)&&Text",
"img":".dyimg.fl img&&src",
"desc":".moviedteail_list&&li:eq(9)&&Text;;;.moviedteail_list&&li:eq(7)&&Text;.moviedteail_list&&li:eq(5)&&Text",
"content":".yp_context&&p:eq(0)&&Text",
"tabs":".ypxingq_t:eq(1) span",
"lists":".paly_list_btn:eq(#id) a"
},
搜索:'*',
}