N3RDN/JN/EXT/XYQHIKER/huixxyq.json

431 lines
18 KiB
JSON
Raw Normal View History

2023-07-12 21:50:31 +08:00
//写法思路来海阔视界xpath筛选。本人是海阔用户所以搬了海阔的jsoup写法过来。2022年9月19日
//jsoup规则写法请查阅海阔视界或者海阔影视相关教程。不支持js写法和+写法
//本文档为完整模板,请不要去无中生有添加多余的键值参数。
//内置正则写法截取格式为 截取前缀&&截取后缀,&&代表前缀与后缀中间你需要截取的内容
{
//规则名
"规则名": "回响影视(XYQH)",
//作者
"规则作者": "20220920",
//请求头UA,键名$键值,每一组用#分开不填则默认okhttp/3.12.11可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
//多个请求头参数写法示例,"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok",每一组用#分开。
//习惯查看手机源码写建议用手机版UA习惯查看PC版源码写建议用电脑版UA不支持Content-Type参数
"请求头参数":"PC_UA",
//网页编码格式默认UTF-8编码UTF-8GBKGB2312
"网页编码格式":"UTF-8",
//图片是否需要代理
"图片是否需要代理":"0",
//是否开启获取首页数据0关闭1开启
"是否开启获取首页数据":"0",
//分类链接起始页码,禁止负数和含小数点。
"分类起始页码": "1",
//分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
//"分类链接": "http://hxys.tv/vodshow/{cateId}--------{catePg}---.html",
"分类链接": "http://hxys.tv/vodshow/{cateId}-{area}-------{catePg}---{year}.html",
//分类名分类1&分类2&分类3
"分类名称": "电影&剧集&综艺&动漫&纪录",
//分类名替换词替换词1&替换词2&替换词3替换词包含英文&的用两个中文代替示例id=0&id=1
"分类名称替换词": "dianying&juji&zongyi&dongman&jilu",
//筛选数据json格式参考xpath的筛选写法
"筛选数据":{
"dianying": [
{
"key": "cateId",
"name": "分类",
"value": [
{"n": "全部","v": ""},
{"n": "动作","v": "dongzuopian"},
{"n": "喜剧","v": "xijupian"},
{"n": "爱情","v": "aiqingpian"},
{"n": "科幻","v": "kehuanpian"},
{"n": "剧情","v": "juqingpian"},
{"n": "悬疑","v": "xuanyipian"},
{"n": "惊悚","v": "jingsongpian"},
{"n": "恐怖","v": "kongbupian"},
{"n": "犯罪","v": "fanzuipian"},
{"n": "谍战","v": "diezhanpian"},
{"n": "冒险","v": "maoxianpian"},
{"n": "奇幻","v": "qihuanpian"},
{"n": "灾难","v": "zainanpian"},
{"n": "战争","v": "zhanzhengpian"},
{"n": "动画","v": "donghuapian"},
{"n": "歌舞","v": "gewupian"},
{"n": "历史","v": "lishipian"},
{"n": "传记","v": "chuanjipian"},
{"n": "其他","v": "qitapian"}
]
},
{
"key": "area",
"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": "印度"},
{"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"}
]
}
],
"juji": [
{
"key": "cateId",
"name": "分类",
"value": [
{"n": "全部","v": ""},
{"n": "国产剧","v": "guochanju"},
{"n": "港台剧","v": "gangtaiju"},
{"n": "日韩剧","v": "rihanju"},
{"n": "欧美剧","v": "oumeiju"},
{"n": "海外剧","v": "haiwaiju"},
{"n": "其他剧","v": "qitaju"}
]
},
{
"key": "area",
"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": "印度"},
{"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"}
]
}
],
"zongyi": [
{
"key": "area",
"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": "印度"},
{"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"}
]
}
],
"dongman": [
{
"key": "area",
"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": "印度"},
{"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"}
]
}
],
"jilu": [
{
"key": "area",
"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": "印度"},
{"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"}
]
}
]
},
//分类页面截取数据模式0为json其它数字为普通网页。
"分类截取模式": "1",
//分类列表数组定位最多支持3层能力有限不是所有页面都能支持
"分类列表数组规则": "body&&.pack-packcover",
//分类片单信息jsoup与正则截取写法切换只作用于html网页1为jsoup写法(默认)0为正则截取写法
"分类片单是否Jsoup写法":"1",
//分类片单标题
"分类片单标题": "a&&title",
//分类片单链接
"分类片单链接": "a&&href",
//分类片单图片,支持自定义图片链接
"分类片单图片": ".eclazy&&data-original",
//分类片单副标题
"分类片单副标题":".pack-prb&&Text",
//分类片单链接补前缀
"分类片单链接加前缀": "http://hxys.tv",
//分类片单链接补后缀
"分类片单链接加后缀": "",
//搜索请求头参数,不填则默认okhttp/3.12.11可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
//多个请求头参数写法示例,键名$键值,每一组用#分开。"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok"。
"搜索请求头参数":"User-Agent$PC_UA",
//搜索链接,搜索关键字用{wd}表示post请求的最后面加;post
//POST链接示例 http://hxys.tv/index.php?m=vod-search;post
//https://hxys.tv/vodsearch/-------------.html?wd=武神主宰
"搜索链接": "http://hxys.tv/index.php/ajax/suggest?mid=1&wd={wd}",
//POST搜索Params参数只支持utf-8编码的请求填写搜索关键字的键值一般常见的是searchword和wd不是POST搜索的可留空或删除。
"POST请求数据":"",
//搜索截取模式,0为json搜索只支持列表在list数组里的其它数字为网页截取。
"搜索截取模式": "0",
//搜索列表数组定位不填默认内置list最多支持3层能力有限不是所有页面都能支持。
"搜索列表数组规则": "list",
//搜索片单信息jsoup与正则截取写法切换只作用于html网页1为jsoup写法(默认)0为正则截取写法
"搜索片单是否Jsoup写法":"1",
//搜索片单图片,支持自定义图片链接
"搜索片单图片": "pic",
//搜索片单标题
"搜索片单标题": "name",
//搜索片单链接
"搜索片单链接": "id",
//搜索片单副标题
"搜索片单副标题":"",
//搜索片单链接补前缀
"搜索片单链接加前缀": "https://hxys.tv/video/",
//搜索片单链接补后缀这个一般json搜索的需要
"搜索片单链接加后缀": ".html",
//片单链接是否直接播放0否1分类片单链接直接播放2详情选集链接直接播放。
//设置成直接播放后后面3个参数请注意该留空的请务必留空。
"链接是否直接播放": "0",
//直接播放链接补前缀
"直接播放链接加前缀": "",
//直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
"直接播放链接加后缀": "",
//直接播放链接设置请求头,只对直链视频有效,每一组用#分开
"直接播放直链视频请求头": "",
//项目信息jsoup与正则截取写法切换1为jsoup写法(默认)0为正则截取写法
"详情是否Jsoup写法":"1",
//类型数据,截取前缀&&截取后缀
"类型详情": ".item-director&&a&&Text",
//年代数据,截取前缀&&截取后缀
"年代详情": "p,1&&a&&Text",
//地区数据,截取前缀&&截取后缀
"地区详情": "p,0&&a&&Text",
//演员数据,截取前缀&&截取后缀
"演员详情": ".item-type&&a&&Text!演员:",
//简介内容,截取前缀&&截取后缀
"简介详情": "#cText&&Text",
//线路截取区域如果不需要请把tab_title或tab_arr_rule置空或者全部不要填。
//线路截取数组
"线路列表数组规则": ".swiper-wrapper&&a",
//线路标题,截取前缀&&截取后缀
"线路标题": "Text! ",
//列表数组截取,必须
"播放列表数组规则": "body&&.content_playlist",
//集数数组截取,必须
"选集列表数组规则": "li",
//集数标题与链接jsoup与正则截取写法切换1为jsoup写法(默认)0为正则截取写法
"选集标题链接是否Jsoup写法":"1",
//集数标题,截取前缀&&截取后缀
"选集标题": "a&&Text",
//集数链接,截取前缀&&截取后缀
"选集链接": "a&&href",
//选集是否反转显示
"是否反转选集序列": "0",
//集数链接补前缀
"选集链接加前缀": "http://hxys.tv",
//集数链接补后缀
"选集链接加后缀": "",
//下面几个参数请勿乱用。否则可能会有副作用。
//分析网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种源码的链接解析
//如果网页源码里没有这种请设置为0
"分析MacPlayer":"0",
//是否开启手动嗅探只对网页嗅探有效0否1是
"是否开启手动嗅探":"0",
//手动嗅探视频链接关键词,每个用#隔开
"手动嗅探视频链接关键词":".mp4#.m3u8#.flv",
//手动嗅探视频链接过滤关键词,每个用#隔开
"手动嗅探视频链接过滤词":".html#=http"
}