huixiang.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. //写法思路来海阔视界,xpath筛选。本人是海阔用户,所以搬了海阔的jsoup写法过来。2022年9月19日
  2. //jsoup规则写法请查阅海阔视界或者海阔影视相关教程。不支持js写法和+写法
  3. //本文档为完整模板,请不要去无中生有添加多余的键值参数。
  4. //内置正则写法截取格式为 截取前缀&&截取后缀,&&代表前缀与后缀中间你需要截取的内容
  5. {
  6. //规则名
  7. "规则名": "回响影视(XYQH)",
  8. //作者
  9. "规则作者": "20220920",
  10. //请求头UA,键名$键值,每一组用#分开,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
  11. //多个请求头参数写法示例,"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok",每一组用#分开。
  12. //习惯查看手机源码写建议用手机版UA,习惯查看PC版源码写建议用电脑版UA,不支持Content-Type参数
  13. "请求头参数":"PC_UA",
  14. //网页编码格式默认UTF-8编码,UTF-8,GBK,GB2312
  15. "网页编码格式":"UTF-8",
  16. //图片是否需要代理
  17. "图片是否需要代理":"0",
  18. //是否开启获取首页数据,0关闭,1开启
  19. "是否开启获取首页数据":"0",
  20. //分类链接起始页码,禁止负数和含小数点。
  21. "分类起始页码": "1",
  22. //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
  23. //"分类链接": "http://hxys.tv/vodshow/{cateId}--------{catePg}---.html",
  24. "分类链接": "http://hxys.tv/vodshow/{cateId}-{area}-------{catePg}---{year}.html",
  25. //分类名,分类1&分类2&分类3
  26. "分类名称": "电影&剧集&综艺&动漫&纪录",
  27. //分类名替换词,替换词1&替换词2&替换词3,替换词包含英文&的用两个中文&&代替,示例:&&id=0&&&id=1
  28. "分类名称替换词": "dianying&juji&zongyi&dongman&jilu",
  29. //筛选数据,json格式,参考xpath的筛选写法
  30. "筛选数据":{
  31. "dianying": [
  32. {
  33. "key": "cateId",
  34. "name": "分类",
  35. "value": [
  36. {"n": "全部","v": ""},
  37. {"n": "动作","v": "dongzuopian"},
  38. {"n": "喜剧","v": "xijupian"},
  39. {"n": "爱情","v": "aiqingpian"},
  40. {"n": "科幻","v": "kehuanpian"},
  41. {"n": "剧情","v": "juqingpian"},
  42. {"n": "悬疑","v": "xuanyipian"},
  43. {"n": "惊悚","v": "jingsongpian"},
  44. {"n": "恐怖","v": "kongbupian"},
  45. {"n": "犯罪","v": "fanzuipian"},
  46. {"n": "谍战","v": "diezhanpian"},
  47. {"n": "冒险","v": "maoxianpian"},
  48. {"n": "奇幻","v": "qihuanpian"},
  49. {"n": "灾难","v": "zainanpian"},
  50. {"n": "战争","v": "zhanzhengpian"},
  51. {"n": "动画","v": "donghuapian"},
  52. {"n": "歌舞","v": "gewupian"},
  53. {"n": "历史","v": "lishipian"},
  54. {"n": "传记","v": "chuanjipian"},
  55. {"n": "其他","v": "qitapian"}
  56. ]
  57. },
  58. {
  59. "key": "area",
  60. "name": "地区",
  61. "value": [
  62. {"n": "全部","v": ""},
  63. {"n": "中国大陆","v": "中国大陆"},
  64. {"n": "中国香港","v": "中国香港"},
  65. {"n": "中国台湾","v": "中国台湾"},
  66. {"n": "美国","v": "美国"},
  67. {"n": "韩国","v": "韩国"},
  68. {"n": "日本","v": "日本"},
  69. {"n": "法国","v": "法国"},
  70. {"n": "英国","v": "英国"},
  71. {"n": "德国","v": "德国"},
  72. {"n": "泰国","v": "泰国"},
  73. {"n": "印度","v": "印度"},
  74. {"n": "其他","v": "其他"}
  75. ]
  76. },
  77. {
  78. "key": "year",
  79. "name": "年份",
  80. "value": [
  81. {"n": "全部","v": ""},
  82. {"n": "2022","v": "2022"},
  83. {"n": "2021","v": "2021"},
  84. {"n": "2020","v": "2020"},
  85. {"n": "2019","v": "2019"},
  86. {"n": "2018","v": "2018"},
  87. {"n": "2017","v": "2017"},
  88. {"n": "2016","v": "2016"},
  89. {"n": "2015","v": "2015"},
  90. {"n": "2014","v": "2014"},
  91. {"n": "2013","v": "2013"},
  92. {"n": "2012","v": "2012"},
  93. {"n": "2011","v": "2011"},
  94. {"n": "2010","v": "2010"},
  95. {"n": "2009","v": "2009"},
  96. {"n": "2008","v": "2008"},
  97. {"n": "2007","v": "2007"},
  98. {"n": "2006","v": "2006"},
  99. {"n": "2005","v": "2005"},
  100. {"n": "2004","v": "2004"},
  101. {"n": "2003","v": "2003"},
  102. {"n": "2002","v": "2002"},
  103. {"n": "2001","v": "2001"},
  104. {"n": "2000","v": "2000"}
  105. ]
  106. }
  107. ],
  108. "juji": [
  109. {
  110. "key": "cateId",
  111. "name": "分类",
  112. "value": [
  113. {"n": "全部","v": ""},
  114. {"n": "国产剧","v": "guochanju"},
  115. {"n": "港台剧","v": "gangtaiju"},
  116. {"n": "日韩剧","v": "rihanju"},
  117. {"n": "欧美剧","v": "oumeiju"},
  118. {"n": "海外剧","v": "haiwaiju"},
  119. {"n": "其他剧","v": "qitaju"}
  120. ]
  121. },
  122. {
  123. "key": "area",
  124. "name": "地区",
  125. "value": [
  126. {"n": "全部","v": ""},
  127. {"n": "中国大陆","v": "中国大陆"},
  128. {"n": "中国香港","v": "中国香港"},
  129. {"n": "中国台湾","v": "中国台湾"},
  130. {"n": "美国","v": "美国"},
  131. {"n": "韩国","v": "韩国"},
  132. {"n": "日本","v": "日本"},
  133. {"n": "法国","v": "法国"},
  134. {"n": "英国","v": "英国"},
  135. {"n": "德国","v": "德国"},
  136. {"n": "泰国","v": "泰国"},
  137. {"n": "印度","v": "印度"},
  138. {"n": "其他","v": "其他"}
  139. ]
  140. },
  141. {
  142. "key": "year",
  143. "name": "年份",
  144. "value": [
  145. {"n": "全部","v": ""},
  146. {"n": "2022","v": "2022"},
  147. {"n": "2021","v": "2021"},
  148. {"n": "2020","v": "2020"},
  149. {"n": "2019","v": "2019"},
  150. {"n": "2018","v": "2018"},
  151. {"n": "2017","v": "2017"},
  152. {"n": "2016","v": "2016"},
  153. {"n": "2015","v": "2015"},
  154. {"n": "2014","v": "2014"},
  155. {"n": "2013","v": "2013"},
  156. {"n": "2012","v": "2012"},
  157. {"n": "2011","v": "2011"},
  158. {"n": "2010","v": "2010"},
  159. {"n": "2009","v": "2009"},
  160. {"n": "2008","v": "2008"},
  161. {"n": "2007","v": "2007"},
  162. {"n": "2006","v": "2006"},
  163. {"n": "2005","v": "2005"},
  164. {"n": "2004","v": "2004"},
  165. {"n": "2003","v": "2003"},
  166. {"n": "2002","v": "2002"},
  167. {"n": "2001","v": "2001"},
  168. {"n": "2000","v": "2000"}
  169. ]
  170. }
  171. ],
  172. "zongyi": [
  173. {
  174. "key": "area",
  175. "name": "地区",
  176. "value": [
  177. {"n": "全部","v": ""},
  178. {"n": "中国大陆","v": "中国大陆"},
  179. {"n": "中国香港","v": "中国香港"},
  180. {"n": "中国台湾","v": "中国台湾"},
  181. {"n": "美国","v": "美国"},
  182. {"n": "韩国","v": "韩国"},
  183. {"n": "日本","v": "日本"},
  184. {"n": "法国","v": "法国"},
  185. {"n": "英国","v": "英国"},
  186. {"n": "德国","v": "德国"},
  187. {"n": "泰国","v": "泰国"},
  188. {"n": "印度","v": "印度"},
  189. {"n": "其他","v": "其他"}
  190. ]
  191. },
  192. {
  193. "key": "year",
  194. "name": "年份",
  195. "value": [
  196. {"n": "全部","v": ""},
  197. {"n": "2022","v": "2022"},
  198. {"n": "2021","v": "2021"},
  199. {"n": "2020","v": "2020"},
  200. {"n": "2019","v": "2019"},
  201. {"n": "2018","v": "2018"},
  202. {"n": "2017","v": "2017"},
  203. {"n": "2016","v": "2016"},
  204. {"n": "2015","v": "2015"},
  205. {"n": "2014","v": "2014"},
  206. {"n": "2013","v": "2013"},
  207. {"n": "2012","v": "2012"},
  208. {"n": "2011","v": "2011"},
  209. {"n": "2010","v": "2010"},
  210. {"n": "2009","v": "2009"},
  211. {"n": "2008","v": "2008"},
  212. {"n": "2007","v": "2007"},
  213. {"n": "2006","v": "2006"},
  214. {"n": "2005","v": "2005"},
  215. {"n": "2004","v": "2004"},
  216. {"n": "2003","v": "2003"},
  217. {"n": "2002","v": "2002"},
  218. {"n": "2001","v": "2001"},
  219. {"n": "2000","v": "2000"}
  220. ]
  221. }
  222. ],
  223. "dongman": [
  224. {
  225. "key": "area",
  226. "name": "地区",
  227. "value": [
  228. {"n": "全部","v": ""},
  229. {"n": "中国大陆","v": "中国大陆"},
  230. {"n": "中国香港","v": "中国香港"},
  231. {"n": "中国台湾","v": "中国台湾"},
  232. {"n": "美国","v": "美国"},
  233. {"n": "韩国","v": "韩国"},
  234. {"n": "日本","v": "日本"},
  235. {"n": "法国","v": "法国"},
  236. {"n": "英国","v": "英国"},
  237. {"n": "德国","v": "德国"},
  238. {"n": "泰国","v": "泰国"},
  239. {"n": "印度","v": "印度"},
  240. {"n": "其他","v": "其他"}
  241. ]
  242. },
  243. {
  244. "key": "year",
  245. "name": "年份",
  246. "value": [
  247. {"n": "全部","v": ""},
  248. {"n": "2022","v": "2022"},
  249. {"n": "2021","v": "2021"},
  250. {"n": "2020","v": "2020"},
  251. {"n": "2019","v": "2019"},
  252. {"n": "2018","v": "2018"},
  253. {"n": "2017","v": "2017"},
  254. {"n": "2016","v": "2016"},
  255. {"n": "2015","v": "2015"},
  256. {"n": "2014","v": "2014"},
  257. {"n": "2013","v": "2013"},
  258. {"n": "2012","v": "2012"},
  259. {"n": "2011","v": "2011"},
  260. {"n": "2010","v": "2010"},
  261. {"n": "2009","v": "2009"},
  262. {"n": "2008","v": "2008"},
  263. {"n": "2007","v": "2007"},
  264. {"n": "2006","v": "2006"},
  265. {"n": "2005","v": "2005"},
  266. {"n": "2004","v": "2004"},
  267. {"n": "2003","v": "2003"},
  268. {"n": "2002","v": "2002"},
  269. {"n": "2001","v": "2001"},
  270. {"n": "2000","v": "2000"}
  271. ]
  272. }
  273. ],
  274. "jilu": [
  275. {
  276. "key": "area",
  277. "name": "地区",
  278. "value": [
  279. {"n": "全部","v": ""},
  280. {"n": "中国大陆","v": "中国大陆"},
  281. {"n": "中国香港","v": "中国香港"},
  282. {"n": "中国台湾","v": "中国台湾"},
  283. {"n": "美国","v": "美国"},
  284. {"n": "韩国","v": "韩国"},
  285. {"n": "日本","v": "日本"},
  286. {"n": "法国","v": "法国"},
  287. {"n": "英国","v": "英国"},
  288. {"n": "德国","v": "德国"},
  289. {"n": "泰国","v": "泰国"},
  290. {"n": "印度","v": "印度"},
  291. {"n": "其他","v": "其他"}
  292. ]
  293. },
  294. {
  295. "key": "year",
  296. "name": "年份",
  297. "value": [
  298. {"n": "全部","v": ""},
  299. {"n": "2022","v": "2022"},
  300. {"n": "2021","v": "2021"},
  301. {"n": "2020","v": "2020"},
  302. {"n": "2019","v": "2019"},
  303. {"n": "2018","v": "2018"},
  304. {"n": "2017","v": "2017"},
  305. {"n": "2016","v": "2016"},
  306. {"n": "2015","v": "2015"},
  307. {"n": "2014","v": "2014"},
  308. {"n": "2013","v": "2013"},
  309. {"n": "2012","v": "2012"},
  310. {"n": "2011","v": "2011"},
  311. {"n": "2010","v": "2010"},
  312. {"n": "2009","v": "2009"},
  313. {"n": "2008","v": "2008"},
  314. {"n": "2007","v": "2007"},
  315. {"n": "2006","v": "2006"},
  316. {"n": "2005","v": "2005"},
  317. {"n": "2004","v": "2004"},
  318. {"n": "2003","v": "2003"},
  319. {"n": "2002","v": "2002"},
  320. {"n": "2001","v": "2001"},
  321. {"n": "2000","v": "2000"}
  322. ]
  323. }
  324. ]
  325. },
  326. //分类页面截取数据模式,0为json,其它数字为普通网页。
  327. "分类截取模式": "1",
  328. //分类列表数组定位,最多支持3层,能力有限,不是所有页面都能支持
  329. "分类列表数组规则": "body&&.pack-packcover",
  330. //分类片单信息jsoup与正则截取写法切换,只作用于html网页,1为jsoup写法(默认),0为正则截取写法
  331. "分类片单是否Jsoup写法":"1",
  332. //分类片单标题
  333. "分类片单标题": "a&&title",
  334. //分类片单链接
  335. "分类片单链接": "a&&href",
  336. //分类片单图片,支持自定义图片链接
  337. "分类片单图片": ".eclazy&&data-original",
  338. //分类片单副标题
  339. "分类片单副标题":".pack-prb&&Text",
  340. //分类片单链接补前缀
  341. "分类片单链接加前缀": "http://hxys.tv",
  342. //分类片单链接补后缀
  343. "分类片单链接加后缀": "",
  344. //搜索请求头参数,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
  345. //多个请求头参数写法示例,键名$键值,每一组用#分开。"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok"。
  346. "搜索请求头参数":"User-Agent$PC_UA",
  347. //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
  348. //POST链接示例 http://hxys.tv/index.php?m=vod-search;post
  349. //https://hxys.tv/vodsearch/-------------.html?wd=武神主宰
  350. "搜索链接": "http://hxys.tv/index.php/ajax/suggest?mid=1&wd={wd}",
  351. //POST搜索Params参数,只支持utf-8编码的请求,填写搜索关键字的键值,一般常见的是searchword和wd,不是POST搜索的可留空或删除。
  352. "POST请求数据":"",
  353. //搜索截取模式,0为json搜索,只支持列表在list数组里的,其它数字为网页截取。
  354. "搜索截取模式": "0",
  355. //搜索列表数组定位,不填默认内置list,最多支持3层,能力有限,不是所有页面都能支持。
  356. "搜索列表数组规则": "list",
  357. //搜索片单信息jsoup与正则截取写法切换,只作用于html网页,1为jsoup写法(默认),0为正则截取写法
  358. "搜索片单是否Jsoup写法":"1",
  359. //搜索片单图片,支持自定义图片链接
  360. "搜索片单图片": "pic",
  361. //搜索片单标题
  362. "搜索片单标题": "name",
  363. //搜索片单链接
  364. "搜索片单链接": "id",
  365. //搜索片单副标题
  366. "搜索片单副标题":"",
  367. //搜索片单链接补前缀
  368. "搜索片单链接加前缀": "https://hxys.tv/video/",
  369. //搜索片单链接补后缀,这个一般json搜索的需要
  370. "搜索片单链接加后缀": ".html",
  371. //片单链接是否直接播放,0否,1分类片单链接直接播放,2详情选集链接直接播放。
  372. //设置成直接播放后,后面3个参数请注意该留空的请务必留空。
  373. "链接是否直接播放": "0",
  374. //直接播放链接补前缀
  375. "直接播放链接加前缀": "",
  376. //直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
  377. "直接播放链接加后缀": "",
  378. //直接播放链接设置请求头,只对直链视频有效,每一组用#分开
  379. "直接播放直链视频请求头": "",
  380. //项目信息jsoup与正则截取写法切换,1为jsoup写法(默认),0为正则截取写法
  381. "详情是否Jsoup写法":"1",
  382. //类型数据,截取前缀&&截取后缀
  383. "类型详情": ".item-director&&a&&Text",
  384. //年代数据,截取前缀&&截取后缀
  385. "年代详情": "p,1&&a&&Text",
  386. //地区数据,截取前缀&&截取后缀
  387. "地区详情": "p,0&&a&&Text",
  388. //演员数据,截取前缀&&截取后缀
  389. "演员详情": ".item-type&&a&&Text!演员:",
  390. //简介内容,截取前缀&&截取后缀
  391. "简介详情": "#cText&&Text",
  392. //线路截取区域,如果不需要请把tab_title或tab_arr_rule置空或者全部不要填。
  393. //线路截取数组
  394. "线路列表数组规则": ".swiper-wrapper&&a",
  395. //线路标题,截取前缀&&截取后缀
  396. "线路标题": "Text! ",
  397. //列表数组截取,必须
  398. "播放列表数组规则": "body&&.content_playlist",
  399. //集数数组截取,必须
  400. "选集列表数组规则": "li",
  401. //集数标题与链接jsoup与正则截取写法切换,1为jsoup写法(默认),0为正则截取写法
  402. "选集标题链接是否Jsoup写法":"1",
  403. //集数标题,截取前缀&&截取后缀
  404. "选集标题": "a&&Text",
  405. //集数链接,截取前缀&&截取后缀
  406. "选集链接": "a&&href",
  407. //选集是否反转显示
  408. "是否反转选集序列": "0",
  409. //集数链接补前缀
  410. "选集链接加前缀": "http://hxys.tv",
  411. //集数链接补后缀
  412. "选集链接加后缀": "",
  413. //下面几个参数请勿乱用。否则可能会有副作用。
  414. //分析网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种源码的链接解析
  415. //如果网页源码里没有这种请设置为0
  416. "分析MacPlayer":"0",
  417. //是否开启手动嗅探,只对网页嗅探有效,0否,1是
  418. "是否开启手动嗅探":"0",
  419. //手动嗅探视频链接关键词,每个用#隔开
  420. "手动嗅探视频链接关键词":".mp4#.m3u8#.flv",
  421. //手动嗅探视频链接过滤关键词,每个用#隔开
  422. "手动嗅探视频链接过滤词":".html#=http"
  423. }