mirror of
https://github.com/alantang1977/X.git
synced 2024-11-05 18:23:09 +02:00
141 lines
No EOL
5.3 KiB
JSON
141 lines
No EOL
5.3 KiB
JSON
{
|
||
//规则名
|
||
"title": "TVB云播",
|
||
//作者
|
||
"author": "聆听优美旋律",
|
||
//请求UA
|
||
"UserAgent":"Mozilla/5.0 (Linux; Android 11; Mi 10 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 Mobile Safari/537.36",
|
||
//"Referer":"",
|
||
"SUserAgent":"User-Agent$MOBILE_UA",
|
||
//是否开启获取首页数据,0关闭,1开启
|
||
"homeContent":"0",
|
||
//分类链接起始页码,禁止负数于合含小数点。
|
||
"firstpage": "1",
|
||
//分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
|
||
"class_url": "http://www.tvyb03.com/vod/type/id/{cateId}/page/{catePg}.html",
|
||
//分类名
|
||
"class_name": "电影&电视剧&综艺&动漫&动作片&喜剧片&爱情片&科幻片&恐怖片&剧情片&战争片&国产剧&港台剧&日韩剧&欧美剧",
|
||
//分类名替换词,替换词中有英文&的用两个中文&&代替
|
||
"class_value": "1&2&3&4&6&7&8&9&10&11&12&13&14&15&16",
|
||
//筛选数据,json格式,参考xpath的筛选写法
|
||
"filterdata":{},
|
||
//分类是否二次截取,0否,1是
|
||
"cat_YN_twice": "1",
|
||
//分类二次截取前
|
||
"cat_twice_pre": "myui-vodlist clearfix",
|
||
//分类二次截取后
|
||
"cat_twice_suf": "</ul>",
|
||
//分类数组截取前
|
||
"cat_arr_pre": "<li",
|
||
//分类数组截取后
|
||
"cat_arr_suf": "</li>",
|
||
//分类截取图片,截取前缀&&截取后缀
|
||
"cat_pic": "data-original=\"&&\"",
|
||
//分类截取标题,截取前缀&&截取后缀
|
||
"cat_title": "title=\"&&\"",
|
||
//分类截取副标题,截取前缀&&截取后缀
|
||
"cat_subtitle": "pic-tag-top\">&&</span",
|
||
//分类截取片单链接,截取前缀&&截取后缀
|
||
"cat_url": "href=\"&&\"",
|
||
//分类片单链接补前缀
|
||
"cat_prefix": "http://www.tvyb03.com",
|
||
//分类片单链接补后缀
|
||
"cat_suffix": "",
|
||
|
||
//搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
|
||
"search_url": "http://www.tvyb03.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=50",
|
||
//搜索模式,0为json搜索,只支持列表在list数组里的,其它为网页截取。
|
||
"search_mode": "0",
|
||
//json图片
|
||
"jsonpic": "pic",
|
||
//json标题
|
||
"jsonname": "name",
|
||
//json链接
|
||
"jsonid": "id",
|
||
//json副标题,这个很少有,预留着
|
||
"jsonstitle":"",
|
||
//搜索是否二次截取,0否,1是
|
||
"sea_YN_twice": "0",
|
||
//搜索二次截取前
|
||
"sea_twice_pre": "空",
|
||
//搜索二次截取后
|
||
"sea_twice_suf": "空",
|
||
//搜索数组前缀
|
||
"sea_arr_pre": "col-md-6 col-sm-4 col-xs-3",
|
||
//搜索数组后缀
|
||
"sea_arr_suf": "/li>",
|
||
//搜索图片,截取前缀&&截取后缀
|
||
"sea_pic": "original=\"&&\"",
|
||
//搜索标题,截取前缀&&截取后缀
|
||
"sea_title": "title=\"&&\"",
|
||
//搜索片单链接,截取前缀&&截取后缀
|
||
"sea_url": "href=\"&&\"",
|
||
//搜索片单链接补前缀
|
||
"search_prefix": "http://www.tvyb03.com/vod/detail/id/",
|
||
//搜索片单链接补后缀,这个一般json搜索的需要
|
||
"search_suffix": ".html",
|
||
//搜索副标题,截取前缀&&截取后缀
|
||
"sea_subtitle": "",
|
||
|
||
//片单链接是否直接播放,0否,1是
|
||
"force_play": "0",
|
||
//直接播放链接补前缀
|
||
"play_prefix": "https://live.52sf.ga/huya/",
|
||
//直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
|
||
"play_suffix": "#isVideo=true#",
|
||
//直接播放链接设置请求头
|
||
"play_header": "user$mozli#",
|
||
|
||
//演员数据,截取前缀&&截取后缀
|
||
"proj_actor": "主演:</span>&&</p>",
|
||
//简介内容,截取前缀&&截取后缀
|
||
"proj_plot": "简介:</span>&&</p",
|
||
//线路是否二次截取,0否,1是
|
||
"tab_YN_twice": "0",
|
||
//线路二次截取前
|
||
"tab_twice_pre": "",
|
||
//线路二次截取后
|
||
"tab_twice_suf": "",
|
||
//线路截取数组前
|
||
"tab_arr_pre": "myui-panel__head bottom-line",
|
||
//线路截取数组后
|
||
"tab_arr_suf": "myui-content__list",
|
||
//线路标题,截取前缀&&截取后缀
|
||
"tab_title": "title\">&&</h3>",
|
||
|
||
//列表是否二次截取,0否,1是
|
||
"list_YN_twice": "0",
|
||
//列表二次截取前
|
||
"list_twice_pre": "空",
|
||
//列表二次截取后
|
||
"list_twice_suf": "空",
|
||
//列表数组截取前
|
||
"list_arr_pre": "class=\"myui-content__list",
|
||
//列表数组截取后
|
||
"list_arr_suf": "</ul>",
|
||
//集数是否二次截取,0否,1是
|
||
"epi_YN_twice": "0",
|
||
//集数二次截取前
|
||
"epi_twice_pre": "空",
|
||
//集数二次截取后
|
||
"epi_twice_suf": "空",
|
||
//集数数组截取前
|
||
"epi_arr_pre": "<a",
|
||
//集数数组截取后
|
||
"epi_arr_suf": "/a>",
|
||
//集数标题,截取前缀&&截取后缀
|
||
"epi_title": ">&&<",
|
||
//集数链接,截取前缀&&截取后缀
|
||
"epi_url": "href=\"&&\"",
|
||
//集数链接补前缀
|
||
"epiurl_prefix": "http://www.tvyb03.com",
|
||
//集数链接补后缀
|
||
"epiurl_suffix": "",
|
||
//尝试分析macplayer链接,0否,1是
|
||
//网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种的链接解析
|
||
"Anal_MacPlayer":"0",
|
||
//是否开启手动嗅探,0否,1是
|
||
"ManualSniffer":"0",
|
||
//手动嗅探视频链接关键字,每个用#隔开
|
||
"VideoFormat":".mp4#.m3u8#.flv"
|
||
} |