皮皮泡.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. //写法思路来海阔视界,xpath筛选。本人是海阔用户,所以搬了海阔的jsoup写法过来。2022年9月14日
  2. //jsoup规则写法请查阅海阔视界或者海阔影视相关教程。不支持js写法
  3. //本文档为完整模板,请不要去无中生有添加多余的键值参数。
  4. {
  5. //规则名
  6. "title": "XYQHiker",
  7. //作者
  8. "author": "香雅情",
  9. //请求头UA,键名$键值,每一组用#分开,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
  10. //多个请求头参数写法示例,"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok",每一组用#分开。
  11. //习惯查看手机源码写建议用手机版UA,习惯查看PC版源码写建议用电脑版UA
  12. "Headers":"MOBILE_UA",
  13. //图片是否需要代理
  14. "PicNeedProxy":"0",
  15. //是否开启获取首页数据,0关闭,1开启
  16. "homeContent":"0",
  17. //分类链接起始页码,禁止负数和含小数点。
  18. "firstpage": "1",
  19. //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
  20. "class_url": "https://www.pipipao.com/vodshow/id/{cateId}/page/{catePg}/year/{year}.html",
  21. //分类名,分类1&分类2&分类3
  22. "class_name": "电影&国产剧&日韩剧&港台剧&欧美剧&泰国剧&综艺&动漫",
  23. //分类名替换词,替换词1&替换词2&替换词3,替换词包含英文&的用两个中文&&代替,示例:&&id=0&&&id=1
  24. "class_value": "dianying&guochanju&rihanju&gangtaiju&oumeiju&taiguoju&zongyi&dongman",
  25. //筛选数据,json格式,参考xpath的筛选写法
  26. "filterdata":{
  27. "dianying": [
  28. {"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":"2008","v":"2008"},{"n":"2000","v":"2000"},{"n":"1997","v":"1997"},{"n":"1980","v":"1980"}]}
  29. ],
  30. "guochanju": [
  31. {"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":"2008","v":"2008"},{"n":"2000","v":"2000"},{"n":"1997","v":"1997"},{"n":"1980","v":"1980"}]}
  32. ],
  33. "rihanju": [
  34. {"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":"2008","v":"2008"},{"n":"2000","v":"2000"},{"n":"1997","v":"1997"},{"n":"1980","v":"1980"}]}
  35. ],
  36. "gangtaiju": [
  37. {"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":"2008","v":"2008"},{"n":"2000","v":"2000"},{"n":"1997","v":"1997"},{"n":"1980","v":"1980"}]}
  38. ],
  39. "oumeiju": [
  40. {"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":"2008","v":"2008"},{"n":"2000","v":"2000"},{"n":"1997","v":"1997"},{"n":"1980","v":"1980"}]}
  41. ],
  42. "taiguoju": [
  43. {"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":"2008","v":"2008"},{"n":"2000","v":"2000"},{"n":"1997","v":"1997"},{"n":"1980","v":"1980"}]}
  44. ]
  45. },
  46. //分类页面截取数据模式,0为json,其它数字为普通网页。
  47. "cat_mode": "1",
  48. //分类列表数组定位,最多支持3层,能力有限,不是所有页面都能支持
  49. "cat_arr_rule": ".stui-pannel_bd&&ul&&li",
  50. //分类片单信息jsoup与xb截取写法切换,只作用于html网页,1为jsoup写法(默认),0为xb写法
  51. "cat_is_jsoup":"1",
  52. //分类片单标题
  53. "cat_title": "h4&&Text",
  54. //分类片单链接
  55. "cat_url": "a&&href",
  56. //分类片单图片,支持自定义图片链接
  57. "cat_pic": "a&&data-original",
  58. //分类片单副标题
  59. "cat_subtitle":"a&&Text",
  60. //分类片单链接补前缀
  61. "cat_prefix": "https://www.pipipao.com",
  62. //分类片单链接补后缀
  63. "cat_suffix": "",
  64. //搜索请求头参数,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
  65. //多个请求头参数写法示例,键名$键值,每一组用#分开。"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok"。
  66. "SHeaders":"User-Agent$MOBILE_UA",
  67. //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
  68. //POST链接示例 http://www.lezhutv.com/index.php?m=vod-search;post
  69. "search_url": "https://www.pipipao.com/vodsearch.html?wd={wd}",
  70. //POST搜索body,填写搜索关键字的键值,一般常见的是searchword和wd,不是POST搜索的可留空或删除。
  71. "sea_PtBody":"",
  72. //搜索截取模式,0为json搜索,只支持列表在list数组里的,其它数字为网页截取。
  73. "search_mode": "1",
  74. //搜索列表数组定位,不填默认内置list,最多支持3层,能力有限,不是所有页面都能支持。
  75. "sea_arr_rule": ".stui-vodlist__media&&li",
  76. //搜索片单信息jsoup与xb截取写法切换,只作用于html网页,1为jsoup写法(默认),0为xb写法
  77. "sea_is_jsoup":"1",
  78. //搜索片单图片,支持自定义图片链接
  79. "sea_pic": "a&&data-original",
  80. //搜索片单标题
  81. "sea_title": "a&&title",
  82. //搜索片单链接
  83. "sea_url": "a&&href",
  84. //搜索片单副标题
  85. "sea_subtitle":".pic-text&&Text",
  86. //搜索片单链接补前缀
  87. "search_prefix": "https://www.pipipao.com",
  88. //搜索片单链接补后缀,这个一般json搜索的需要
  89. "search_suffix": "",
  90. //片单链接是否直接播放,0否,1分类片单链接直接播放,2详情选集链接直接播放。
  91. //设置成直接播放后,后面3个参数请注意该留空的请务必留空。
  92. "force_play": "0",
  93. //直接播放链接补前缀
  94. "play_prefix": "",
  95. //直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
  96. "play_suffix": "",
  97. //直接播放链接设置请求头,只对直链视频有效,每一组用#分开
  98. "play_header": "",
  99. //项目信息jsoup与xb截取写法切换,1为jsoup写法(默认),0为xb写法
  100. "proj_is_jsoup":"0",
  101. //类型数据,截取前缀&&截取后缀
  102. "proj_cate": "类型:</span>&&<span",
  103. //年代数据,截取前缀&&截取后缀
  104. "proj_year": "年份:</span>&&</a>",
  105. //地区数据,截取前缀&&截取后缀
  106. "proj_area": "地区:</span>&&</a>",
  107. //演员数据,截取前缀&&截取后缀
  108. "proj_actor": "主演:</span>&&</p>",
  109. //简介内容,截取前缀&&截取后缀
  110. "proj_plot": "简介:</span>&&</p>",
  111. //线路截取区域,如果不需要请把tab_title或tab_arr_rule置空或者全部不要填。
  112. //线路截取数组
  113. "tab_arr_rule": "body&&.playlist",
  114. //线路标题,截取前缀&&截取后缀
  115. "tab_title": "h3&&Text",
  116. //列表数组截取,必须
  117. "list_arr_rule": "body&&.stui-content__playlist",
  118. //集数数组截取,必须
  119. "epi_arr_rule": "li",
  120. //集数标题,截取前缀&&截取后缀
  121. "epi_title": "a&&Text",
  122. //集数链接,截取前缀&&截取后缀
  123. "epi_url": "a&&href",
  124. //选集是否反转显示
  125. "epi_reverse": "0",
  126. //集数链接补前缀
  127. "epiurl_prefix": "https://www.pipipao.com",
  128. //集数链接补后缀
  129. "epiurl_suffix": "",
  130. //下面几个参数请勿乱用。否则可能会有副作用。
  131. //分析网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种源码的链接解析
  132. //如果网页源码里没有这种请设置为0
  133. "Anal_MacPlayer":"0",
  134. //是否开启手动嗅探,只对网页嗅探有效,0否,1是
  135. "ManualSniffer":"0",
  136. //手动嗅探视频链接关键字,每个用#隔开
  137. "VideoFormat":".mp4#.m3u8#.flv",
  138. //手动嗅探视频链接过滤关键词,每个用#隔开
  139. "VideoFilter":".html#=http"
  140. }