forked from dongg/tvbox
1
0
Fork 0
tvbox/0130/gt/lib/广播迷FM.js

42 lines
2.6 KiB
JavaScript
Raw Normal View History

2024-02-12 02:37:55 +02:00
var rule = {
title:'广播迷FM',
host:'http://www.guangbomi.com',
编码:'gbk',
搜索编码:'gbk',
url: '/fyfilter.html?page=fypage',
filter_url:'{{fl.cateId}}',
filter:{
"live":[{"key":"cateId","name":"按类型","value":[{"n":"新闻综合","v":"fmlist20"},{"n":"交通","v":"fmlist58"},{"n":"音乐","v":"fmlist57"},{"n":"经济","v":"fmlist56"},{"n":"生活","v":"fmlist59"},{"n":"文艺","v":"fmlist60"},{"n":"都市","v":"fmlist61"},{"n":"故事","v":"fmlist62"},{"n":"旅游","v":"fmlist63"},{"n":"乡村","v":"fmlist64"},{"n":"娱乐","v":"fmlist65"},{"n":"戏曲","v":"fmlist66"},{"n":"体育","v":"fmlist67"},{"n":"评书相声","v":"fmlist69"},{"n":"青少科教","v":"fmlist70"},{"n":"网络台","v":"fmlist113"},{"n":"汽车","v":"fmlist134"},{"n":"其他","v":"fmlist135"}]}],
"tv":[{"key":"cateId","name":"按类型","value":[{"n":"卫视台","v":"tvlist200"},{"n":"省台","v":"tvlist220"},{"n":"市台","v":"tvlist221"},{"n":"区县台","v":"tvlist222"},{"n":"新闻综合","v":"tvlist201"},{"n":"财经","v":"tvlist202"},{"n":"综艺","v":"tvlist203"},{"n":"体育","v":"tvlist204"},{"n":"影视","v":"tvlist205"},{"n":"公共","v":"tvlist206"},{"n":"都市","v":"tvlist207"},{"n":"少儿","v":"tvlist208"},{"n":"科教","v":"tvlist209"},{"n":"记录","v":"tvlist211"},{"n":"动漫","v":"tvlist212"},{"n":"生活","v":"tvlist213"},{"n":"法制","v":"tvlist214"},{"n":"军事","v":"tvlist215"},{"n":"文旅","v":"tvlist216"},{"n":"农科","v":"tvlist217"},{"n":"数字电视","v":"tvlist218"}]}]
},
filter_def:{
live:{cateId:'fmlist20'},
tv:{cateId:'tvlist201'}
},
searchUrl: '/index.php?m=search&c=index&a=init&siteid=1&typeid=54&q=**&page=fypage',
searchable:2,
quickSearch:0,
filterable:1,
headers:{
'User-Agent': 'MOBILE_UA'
},
timeout:5000,
class_name:'听广播&看电视',
class_url:'live&tv',
play_parse:true,
lazy:'js:var purl=jsp.pdfh(request(input), ".playcode&&iframe&&src");if(/tingtingfm/.test(purl)){purl="http://www.guangbomi.com"+purl};input= {jx:0,url:purl,parse:1,header:JSON.stringify({"referer":"http://www.guangbomi.com/"})}',
limit:6,
推荐: '.ax-split-3;ul&&.ax-grid-block;*;.radio-icon&&src;.radio-icon&&alt;*',
double: true,
一级: '.ax-split-2&&li;.radio-title&&Text;;;a&&href',
二级: {
"title": "h1&&Text;.ax-breadcrumb:eq(1)&&Text",
"img": "",
"desc": ";;;;.ax-des:eq(0)&&Text",
"content": ".ax-ignore:eq(0)&&Text",
"重定向": "js:let url = jsp.pd(html,'#play&&iframe&&src');log('重定向到:'+url);html = request(url)",
"tabs": "js:TABS=['信号源']",
"lists": "div:eq(1)&&a"
},
搜索: 'body .ax-item-block;.ax-title&&Text;.ax-img&&style;.ax-color-des:eq(1)&&Text;*',
}