看了么.json 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. {
  2. //规则名
  3. "规则名": "看了么",
  4. //作者
  5. "规则作者": "戒不掉的微笑",
  6. "请求头参数":"PC_UA",
  7. //网页编码格式默认UTF-8编码,UTF-8,GBK,GB2312
  8. "网页编码格式":"UTF-8",
  9. //图片是否需要代理
  10. "图片是否需要代理":"0",
  11. //是否开启获取首页数据,0关闭,1开启
  12. "是否开启获取首页数据":"1",
  13. //分类链接起始页码,禁止负数和含小数点。
  14. "分类起始页码": "1",
  15. //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
  16. "分类链接": "https://www.ksksl.com/show/{cateId}/area/{area}/page/{catePg}.html",
  17. //分类名,分类1&分类2&分类3
  18. "分类名称": "电影&电视剧&综艺&动漫&纪录片",
  19. //分类名替换词,替换词1&替换词2&替换词3,替换词包含英文&的用两个中文&&代替,示例:&&id=0&&&id=1
  20. "分类名称替换词": "dy&tv&zy&dm&jl",
  21. //筛选数据,json格式,参考xpath的筛选写法
  22. "筛选数据":{"dy": [
  23. {
  24. "key": "area",
  25. "name": "地区",
  26. "value": [
  27. {"n": "全部","v": ""},
  28. {"n": "中国大陆","v": "中国大陆"},
  29. {"n": "中国香港","v": "中国香港"},
  30. {"n": "中国台湾","v": "中国台湾"},
  31. {"n": "欧美","v": "欧美"},
  32. {"n": "韩国","v": "韩国"},
  33. {"n": "日本","v": "日本"},
  34. {"n": "泰国","v": "泰国"},
  35. {"n": "印度","v": "印度"},
  36. {"n": "俄罗斯","v": "俄罗斯"},
  37. {"n": "其他","v": "其他"}
  38. ]
  39. },
  40. {
  41. "key": "year",
  42. "name": "年份",
  43. "value": [
  44. {"n": "全部","v": ""},
  45. {"n": "2022","v": "2022"},
  46. {"n": "2021","v": "2021"},
  47. {"n": "2020","v": "2020"},
  48. {"n": "2019","v": "2019"},
  49. {"n": "2018","v": "2018"},
  50. {"n": "2017","v": "2017"},
  51. {"n": "2016","v": "2016"},
  52. {"n": "2015","v": "2015"},
  53. {"n": "2014","v": "2014"},
  54. {"n": "2013","v": "2013"},
  55. {"n": "2012","v": "2012"},
  56. {"n": "2011","v": "2011"}
  57. ]
  58. }
  59. ],
  60. "tv": [
  61. { "key":"area", "name":"地区", "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. ] },
  72. {
  73. "key": "year",
  74. "name": "年份",
  75. "value": [
  76. {"n": "全部","v": ""},
  77. {"n": "2022","v": "2022"},
  78. {"n": "2021","v": "2021"},
  79. {"n": "2020","v": "2020"},
  80. {"n": "2019","v": "2019"},
  81. {"n": "2018","v": "2018"},
  82. {"n": "2017","v": "2017"},
  83. {"n": "2016","v": "2016"},
  84. {"n": "2015","v": "2015"},
  85. {"n": "2014","v": "2014"},
  86. {"n": "2013","v": "2013"},
  87. {"n": "2012","v": "2012"},
  88. {"n": "2011","v": "2011"}
  89. ]
  90. }
  91. ],
  92. "dm": [
  93. {
  94. "key": "year",
  95. "name": "年份",
  96. "value": [
  97. {"n": "全部","v": ""},
  98. {"n": "2022","v": "2022"},
  99. {"n": "2021","v": "2021"},
  100. {"n": "2020","v": "2020"},
  101. {"n": "2019","v": "2019"},
  102. {"n": "2018","v": "2018"},
  103. {"n": "2017","v": "2017"},
  104. {"n": "2016","v": "2016"},
  105. {"n": "2015","v": "2015"},
  106. {"n": "2014","v": "2014"},
  107. {"n": "2013","v": "2013"},
  108. {"n": "2012","v": "2012"},
  109. {"n": "2011","v": "2011"}
  110. ]
  111. }
  112. ]
  113. },
  114. //分类页面截取数据模式,0为json,其它数字为普通网页。
  115. "分类截取模式": "1",
  116. //分类列表数组定位,最多支持3层,能力有限,不是所有页面都能支持
  117. "分类列表数组规则": ".row-list&&.dx-vod",
  118. //分类片单信息jsoup与正则截取写法切换,只作用于html网页,1为jsoup写法(默认),0为正则截取写法
  119. "分类片单是否Jsoup写法":"1",
  120. //分类片单标题
  121. "分类片单标题": "a&&title",
  122. //分类片单链接
  123. "分类片单链接": "a&&href",
  124. //分类片单图片,支持自定义图片链接
  125. "分类片单图片": "a&&data-original",
  126. //分类片单副标题
  127. "分类片单副标题":".vod_remarks&&Text",
  128. //分类片单链接补前缀
  129. "分类片单链接加前缀": "https://www.ksksl.com",
  130. //分类片单链接补后缀
  131. "分类片单链接加后缀": "",
  132. //搜索请求头参数,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA"
  133. //多个请求头参数写法示例,键名$键值,每一组用#分开。"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok"。
  134. "搜索请求头参数":"User-Agent$PC_UA",
  135. //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
  136. //POST链接示例 http://www.lezhutv.com/index.php?m=vod-search;post
  137. "搜索链接": "https://www.ksksl.com/ch.html?wd={wd}",
  138. //POST搜索Params参数,只支持utf-8编码的请求,填写搜索关键字的键值,一般常见的是searchword和wd,不是POST搜索的可留空或删除。
  139. "POST请求数据":"wd={wd}&search=",
  140. //搜索截取模式,0为json搜索,只支持列表在list数组里的,其它数字为网页截取。
  141. "搜索截取模式": "1",
  142. //搜索列表数组定位,不填默认内置list,最多支持3层,能力有限,不是所有页面都能支持。
  143. "搜索列表数组规则": ".row-list&&.dx-vod",
  144. //搜索片单信息jsoup与正则截取写法切换,只作用于html网页,1为jsoup写法(默认),0为正则截取写法
  145. "搜索片单是否Jsoup写法":"1",
  146. //搜索片单图片,支持自定义图片链接
  147. "搜索片单图片": "a&&data-original",
  148. //搜索片单标题
  149. "搜索片单标题": "a&&title",
  150. //搜索片单链接
  151. "搜索片单链接": "a&&href",
  152. //搜索片单副标题
  153. "搜索片单副标题":".vod_remarks&&Text",
  154. //搜索片单链接补前缀
  155. "搜索片单链接加前缀": "https://www.ksksl.com",
  156. //搜索片单链接补后缀,这个一般json搜索的需要
  157. "搜索片单链接加后缀": "",
  158. //片单链接是否直接播放,0否,1分类片单链接直接播放,2详情选集链接直接播放。
  159. //设置成直接播放后,后面3个参数请注意该留空的请务必留空。
  160. "链接是否直接播放": "0",
  161. //直接播放链接补前缀
  162. "直接播放链接加前缀": "https://live.52sf.ga/huya/",
  163. //直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
  164. "直接播放链接加后缀": "#isVideo=true#",
  165. //直接播放链接设置请求头,只对直链视频有效,每一组用#分开
  166. "直接播放直链视频请求头": "authority$ku.peizq.online#Referer$https://play.peizq.online",
  167. //项目信息jsoup与正则截取写法切换,1为jsoup写法(默认),0为正则截取写法
  168. "详情是否Jsoup写法":"1",
  169. //类型数据,截取前缀&&截取后缀
  170. "类型详情": ".tag-link,1&&Text",
  171. //年代数据,截取前缀&&截取后缀
  172. "年代详情": ".tag-link,2&&Text",
  173. //地区数据,截取前缀&&截取后缀
  174. "地区详情": ".tag-link,3&&Text",
  175. //演员数据,截取前缀&&截取后缀
  176. "演员详情": ".info-items,1&&Text!演员",
  177. //简介内容,截取前缀&&截取后缀
  178. "简介详情": ".vod_content&&Text",
  179. //线路截取区域,如果不需要请把tab_title或tab_arr_rule置空或者全部不要填。
  180. //线路截取数组
  181. "线路列表数组规则": ".container.clearfix&&.player_info",
  182. //线路标题,截取前缀&&截取后缀
  183. "线路标题": "h2&&Text",
  184. //列表数组截取,必须
  185. "播放列表数组规则": ".container.clearfix&&.play_li.fn-clear",
  186. //集数数组截取,必须
  187. "选集列表数组规则": "a",
  188. //集数标题与链接jsoup与正则截取写法切换,1为jsoup写法(默认),0为正则截取写法
  189. "选集标题链接是否Jsoup写法":"1",
  190. //集数标题,截取前缀&&截取后缀
  191. "选集标题": "a&&Text",
  192. //集数链接,截取前缀&&截取后缀
  193. "选集链接": "a&&href",
  194. //选集是否反转显示
  195. "是否反转选集序列": "0",
  196. //集数链接补前缀
  197. "选集链接加前缀": "https://www.ksksl.com",
  198. //集数链接补后缀
  199. "选集链接加后缀": "",
  200. //下面几个参数请勿乱用。否则可能会有副作用。
  201. //分析网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种源码的链接解析
  202. //如果网页源码里没有这种请设置为0
  203. "分析MacPlayer":"1",
  204. //是否开启手动嗅探,只对网页嗅探有效,0否,1是
  205. "是否开启手动嗅探":"0",
  206. //手动嗅探视频链接关键词,每个用#隔开
  207. "手动嗅探视频链接关键词":".mp4#.m3u8#.flv",
  208. //手动嗅探视频链接过滤关键词,每个用#隔开
  209. "手动嗅探视频链接过滤词":".html#=http"
  210. }