123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710 |
- //写法思路来自biubiu影院,海阔视界,xpath筛选。
- //项目魔改至github开源仓库https://github.com/Tangsan99999/TvJar中的XBiubiu.java文件,
- {
- //规则名
- "title": "橘猫资源",
- //作者
- "author": "聆听优美旋律",
- //请求头UA,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
- //习惯查看手机源码写建议用手机版UA,习惯查看PC版源码写建议用电脑版UA
- "UserAgent":"Mozilla/5.0 (Linux; Android 12; V2049A Build/SP1A.210812.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/103.0.5060.129 Mobile Safari/537.36",
- //请求头Referer参数,如果只是播放页需要,填WebView即可引用播放页的链接作嗅探Referer参数。
- //一般很少用,留空或删除
- "Referer":"",
- //是否开启获取首页数据,0关闭,1开启
- "homeContent":"1",
- //分类链接起始页码,禁止负数和含小数点。
- "firstpage": "1",
- //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
- "class_url": "http://zy.renrenmi.cc/vodtype/{cateId}-{catePg}/[firstPage=http://zy.renrenmi.cc/vodtype/{cateId}/]",
- //分类名,分类1&分类2&分类3
- "class_name": "电影&电视剧&综艺&动漫",
- //分类名替换词,替换词1&替换词2&替换词3,替换词包含英文&的用两个中文&&代替,示例:&&id=0&&&id=1
- "class_value": "1&2&3&4",
- //筛选数据,json格式,参考xpath的筛选写法
- "filterdata":{
-
- "1": [
- {
- "key": "class",
- "name": "类型",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "动作",
- "v": "动作"
- },
- {
- "n": "喜剧",
- "v": "喜剧"
- },
- {
- "n": "爱情",
- "v": "爱情"
- },
- {
- "n": "科幻",
- "v": "科幻"
- },
- {
- "n": "恐怖",
- "v": "恐怖"
- },
- {
- "n": "剧情",
- "v": "剧情"
- },
- {
- "n": "战争",
- "v": "战争"
- },
- {
- "n": "犯罪",
- "v": "犯罪"
- },
- {
- "n": "冒险",
- "v": "冒险"
- },
- {
- "n": "悬疑",
- "v": "悬疑"
- },
- {
- "n": "奇幻",
- "v": "奇幻"
- }
- ]
- },
- {
- "key": "year",
- "name": "年份",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "2022",
- "v": "2022"
- },
- {
- "n": "2021",
- "v": "2021"
- },
- {
- "n": "2020",
- "v": "2020"
- },
- {
- "n": "2019",
- "v": "2019"
- },
- {
- "n": "2018",
- "v": "2018"
- },
- {
- "n": "2017",
- "v": "2017"
- },
- {
- "n": "2016",
- "v": "2016"
- },
- {
- "n": "2015",
- "v": "2015"
- },
- {
- "n": "2014",
- "v": "2014"
- },
- {
- "n": "2013",
- "v": "2013"
- },
- {
- "n": "2012",
- "v": "2012"
- },
- {
- "n": "2011",
- "v": "2011"
- },
- {
- "n": "2010",
- "v": "2010"
- },
- {
- "n": "2009",
- "v": "2009"
- },
- {
- "n": "2008",
- "v": "2008"
- },
- {
- "n": "2007",
- "v": "2007"
- },
- {
- "n": "2006",
- "v": "2006"
- },
- {
- "n": "2005",
- "v": "2005"
- },
- {
- "n": "2004",
- "v": "2004"
- },
- {
- "n": "2003",
- "v": "2003"
- },
- {
- "n": "2002",
- "v": "2002"
- },
- {
- "n": "2001",
- "v": "2001"
- },
- {
- "n": "2000",
- "v": "2000"
- }
- ]
- }
- ], "电视剧": [
- {
- "key": "class",
- "name": "类型",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "国产",
- "v": "国产"
- },
- {
- "n": "港台",
- "v": "港台"
- },
- {
- "n": "日韩剧",
- "v": "日韩"
- },
- {
- "n": "欧美剧",
- "v": "欧美"
- }
- ]
- },
- {
- "key": "year",
- "name": "年份",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "2022",
- "v": "2022"
- },
- {
- "n": "2021",
- "v": "2021"
- },
- {
- "n": "2020",
- "v": "2020"
- },
- {
- "n": "2019",
- "v": "2019"
- },
- {
- "n": "2018",
- "v": "2018"
- },
- {
- "n": "2017",
- "v": "2017"
- },
- {
- "n": "2016",
- "v": "2016"
- },
- {
- "n": "2015",
- "v": "2015"
- },
- {
- "n": "2014",
- "v": "2014"
- },
- {
- "n": "2013",
- "v": "2013"
- },
- {
- "n": "2012",
- "v": "2012"
- },
- {
- "n": "2011",
- "v": "2011"
- },
- {
- "n": "2010",
- "v": "2010"
- },
- {
- "n": "2009",
- "v": "2009"
- },
- {
- "n": "2008",
- "v": "2008"
- },
- {
- "n": "2007",
- "v": "2007"
- },
- {
- "n": "2006",
- "v": "2006"
- },
- {
- "n": "2005",
- "v": "2005"
- },
- {
- "n": "2004",
- "v": "2004"
- },
- {
- "n": "2003",
- "v": "2003"
- },
- {
- "n": "2002",
- "v": "2002"
- },
- {
- "n": "2001",
- "v": "2001"
- },
- {
- "n": "2000",
- "v": "2000"
- }
- ]
- }
- ],
- "综艺": [
- {
- "key": "area",
- "name": "地区",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "内地",
- "v": "内地"
- },
- {
- "n": "港台",
- "v": "港台"
- },
- {
- "n": "日韩",
- "v": "日韩"
- },
- {
- "n": "欧美",
- "v": "欧美"
- }
- ]
- },
- {
- "key": "year",
- "name": "年份",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "2022",
- "v": "2022"
- },
- {
- "n": "2021",
- "v": "2021"
- },
- {
- "n": "2020",
- "v": "2020"
- },
- {
- "n": "2019",
- "v": "2019"
- },
- {
- "n": "2018",
- "v": "2018"
- },
- {
- "n": "2017",
- "v": "2017"
- },
- {
- "n": "2016",
- "v": "2016"
- },
- {
- "n": "2015",
- "v": "2015"
- },
- {
- "n": "2014",
- "v": "2014"
- },
- {
- "n": "2013",
- "v": "2013"
- },
- {
- "n": "2012",
- "v": "2012"
- },
- {
- "n": "2011",
- "v": "2011"
- },
- {
- "n": "2010",
- "v": "2010"
- },
- {
- "n": "2009",
- "v": "2009"
- },
- {
- "n": "2008",
- "v": "2008"
- },
- {
- "n": "2007",
- "v": "2007"
- },
- {
- "n": "2006",
- "v": "2006"
- },
- {
- "n": "2005",
- "v": "2005"
- },
- {
- "n": "2004",
- "v": "2004"
- },
- {
- "n": "2003",
- "v": "2003"
- },
- {
- "n": "2002",
- "v": "2002"
- },
- {
- "n": "2001",
- "v": "2001"
- },
- {
- "n": "2000",
- "v": "2000"
- }
- ]
- }
- ],
- "动漫": [
- {
- "key": "area",
- "name": "地区",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "内地",
- "v": "内地"
- },
- {
- "n": "日本",
- "v": "日本"
- },
- {
- "n": "美国",
- "v": "美国"
- }
- ]
- },
- {
- "key": "year",
- "name": "年份",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "2022",
- "v": "2022"
- },
- {
- "n": "2021",
- "v": "2021"
- },
- {
- "n": "2020",
- "v": "2020"
- },
- {
- "n": "2019",
- "v": "2019"
- },
- {
- "n": "2018",
- "v": "2018"
- },
- {
- "n": "2017",
- "v": "2017"
- },
- {
- "n": "2016",
- "v": "2016"
- },
- {
- "n": "2015",
- "v": "2015"
- },
- {
- "n": "2014",
- "v": "2014"
- },
- {
- "n": "2013",
- "v": "2013"
- },
- {
- "n": "2012",
- "v": "2012"
- },
- {
- "n": "2011",
- "v": "2011"
- },
- {
- "n": "2010",
- "v": "2010"
- },
- {
- "n": "2009",
- "v": "2009"
- },
- {
- "n": "2008",
- "v": "2008"
- },
- {
- "n": "2007",
- "v": "2007"
- },
- {
- "n": "2006",
- "v": "2006"
- },
- {
- "n": "2005",
- "v": "2005"
- },
- {
- "n": "2004",
- "v": "2004"
- },
- {
- "n": "2003",
- "v": "2003"
- },
- {
- "n": "2002",
- "v": "2002"
- },
- {
- "n": "2001",
- "v": "2001"
- },
- {
- "n": "2000",
- "v": "2000"
- }
- ]
- }
- ]
- },
- //分类是否二次截取
- "cat_YN_twice": "1",
- //分类二次截取前
- "cat_twice_pre": "class=\"stui-vodlist clearfix",
- //分类二次截取后
- "cat_twice_suf": "</ul>",
-
- //分类数组截取前
- "cat_arr_pre": "<li class=\"clearfix",
- //分类数组截取后
- "cat_arr_suf": "/li>",
- //分类截取片单图片,截取前缀&&截取后缀
- "cat_pic": "",
- //分类截取片单标题,截取前缀&&截取后缀
- "cat_title": "title=\"&&\"",
- //分类截取片单副标题,截取前缀&&截取后缀
- "cat_subtitle": "text-red\">&&<",
- //分类截取片单链接,截取前缀&&截取后缀
- "cat_url": "href=\"&&\"",
- //分类片单链接补前缀
- "cat_prefix": "http://zy.renrenmi.cc",
- //分类片单链接补后缀
- "cat_suffix": "",
-
- //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
- //POST链接示例 http://www.lezhutv.com/index.php?m=vod-search;post
- "search_url": "http://zy.renrenmi.cc/vodsearch/-------------/?wd={wd}&submit=",
- //POST搜索body,填写搜索关键字的键值,一般常见的是searchword和wd,不是POST搜索的可留空或删除。
- "sea_PtBody":"",
- //搜索模式,0为json搜索,只支持列表在list数组里的,其它为网页截取。
- "search_mode": "1",
- //json片单图片
- "jsonpic": "pic",
- //json片单标题
- "jsonname": "name",
- //json片单链接
- "jsonid": "id",
- //json片单副标题,这个很少有,预留着
- "jsonstitle":"",
-
- //搜索是否二次截取
- "sea_YN_twice": "1",
- //搜索二次截取前
- "sea_twice_pre": "class=\"stui-vodlist clearfix",
- //搜索二次截取后
- "sea_twice_suf": "</ul>",
-
- //搜索数组前缀
- "sea_arr_pre": "<li class=\"clearfix",
- //搜索数组后缀
- "sea_arr_suf": "/li>",
- //搜索片单图片,截取前缀&&截取后缀
- "sea_pic": "",
- //搜索片单标题,截取前缀&&截取后缀
- "sea_title": "title=\"&&\"",
- //搜索片单链接,截取前缀&&截取后缀
- "sea_url": "href=\"&&\"",
- //搜索片单链接补前缀
- "search_prefix": "http://zy.renrenmi.cc",
- //搜索片单链接补后缀,这个一般json搜索的需要
- "search_suffix": "",
- //搜索副标题,截取前缀&&截取后缀
- "sea_subtitle": "text-red\">&&<",
-
- //片单链接是否直接播放,0否,1分类片单链接直接播放,2详情选集链接直接播放。
- "force_play": "2",
- //直接播放链接补前缀
- "play_prefix": "",
- //直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
- "play_suffix": "",
- //直接播放链接设置请求头,只对直链视频有效,每一组用#分开
- "play_header": "",
-
- //演员数据,截取前缀&&截取后缀
- "proj_actor": "主演:</span>&&</p>",
- //简介内容,截取前缀&&截取后缀
- "proj_plot": "stui-content__desc col-pd clearfix\">&&</div>",
-
- //线路截取区域,如果不需要请把tab_title或tab_arr_pre置空或者全部不要填。
- //线路是否二次截取
- "tab_YN_twice": "0",
- //线路二次截取前
- "tab_twice_pre": "",
- //线路二次截取后
- "tab_twice_suf": "",
-
- //线路截取数组前
- "tab_arr_pre": "id=\"playlist",
- //线路截取数组后
- "tab_arr_suf": "</div>",
- //线路标题,截取前缀&&截取后缀
- "tab_title": "title\">&&</h3>",
-
- //列表是否二次截取
- "list_YN_twice": "0",
- //列表二次截取前
- "list_twice_pre": "空",
- //列表二次截取后
- "list_twice_suf": "空",
- //列表数组截取前,必须
- "list_arr_pre": "class=\"stui-content__playlist",
- //列表数组截取后,必须
- "list_arr_suf": "</ul>",
-
- //集数是否二次截取
- "epi_YN_twice": "0",
- //集数二次截取前
- "epi_twice_pre": "空",
- //集数二次截取后
- "epi_twice_suf": "空",
- //集数数组截取前,必须
- "epi_arr_pre": "<li",
- //集数数组截取后,必须
- "epi_arr_suf": "/li>",
- //集数标题,截取前缀&&截取后缀
- "epi_title": "class=\"copy_text\">&&<",
- //集数链接,截取前缀&&截取后缀
- "epi_url": "class=\"hidden-xs\">$&&</",
- //集数链接补前缀
- "epiurl_prefix": "",
- //集数链接补后缀
- "epiurl_suffix": "",
-
- //下面几个参数请勿乱用。否则可能会有副作用。
- //分析网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种源码的链接解析
- //如果网页源码里没有这种请设置为0
- "Anal_MacPlayer":"0",
- //是否开启手动嗅探,只对网页嗅探有效,0否,1是
- "ManualSniffer":"1",
- //手动嗅探视频链接关键字,每个用#隔开
- "VideoFormat":"",
- //手动嗅探视频链接过滤关键词,每个用#隔开
- "VideoFilter":".html#=http"
- }
|