广播迷FM.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. var rule = {
  2. title:'广播迷FM',
  3. host:'http://www.guangbomi.com',
  4. 编码:'gbk',
  5. 搜索编码:'gbk',
  6. url: '/fyfilter.html?page=fypage',
  7. filter_url:'{{fl.cateId}}',
  8. filter:{
  9. "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"}]}],
  10. "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"}]}]
  11. },
  12. filter_def:{
  13. live:{cateId:'fmlist20'},
  14. tv:{cateId:'tvlist201'}
  15. },
  16. searchUrl: '/index.php?m=search&c=index&a=init&siteid=1&typeid=54&q=**&page=fypage',
  17. searchable:2,
  18. quickSearch:0,
  19. filterable:1,
  20. headers:{
  21. 'User-Agent': 'MOBILE_UA'
  22. },
  23. timeout:5000,
  24. class_name:'听广播&看电视',
  25. class_url:'live&tv',
  26. play_parse:true,
  27. 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/"})}',
  28. limit:6,
  29. 推荐: '.ax-split-3;ul&&.ax-grid-block;*;.radio-icon&&src;.radio-icon&&alt;*',
  30. double: true,
  31. 一级: '.ax-split-2&&li;.radio-title&&Text;;;a&&href',
  32. 二级: {
  33. "title": "h1&&Text;.ax-breadcrumb:eq(1)&&Text",
  34. "img": "",
  35. "desc": ";;;;.ax-des:eq(0)&&Text",
  36. "content": ".ax-ignore:eq(0)&&Text",
  37. "重定向": "js:let url = jsp.pd(html,'#play&&iframe&&src');log('重定向到:'+url);html = request(url)",
  38. "tabs": "js:TABS=['信号源']",
  39. "lists": "div:eq(1)&&a"
  40. },
  41. 搜索: 'body .ax-item-block;.ax-title&&Text;.ax-img&&style;.ax-color-des:eq(1)&&Text;*',
  42. }