1080TV.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. //写法思路来自biubiu影院,海阔视界,xpath筛选。2022年9月14日
  2. //项目魔改至github开源仓库https://github.com/Tangsan99999/TvJar中的XBiubiu.java文件,
  3. //本文档为完整模板,实际情况可按规则写法删去不需要的。
  4. {
  5. //规则名
  6. "title": "1080电影",
  7. //作者
  8. "author": "iN3",
  9. "分类": "电影$1#剧集$2#综艺$3#动漫$4",
  10. "分类链接": "https://1080p.tv/vodshow/{cateId}-{area}-{by}-{class}-----{catePg}---{year}/",
  11. "线路数组": "class=\"module-tab-item &&</div>",
  12. "线路标题": "<span>&&</small>",
  13. "播放数组": "class=\"module-play-list-content&&</div>",
  14. //请求头UA,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
  15. //多个请求头参数写法示例,"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok",
  16. //习惯查看手机源码写建议用手机版UA,习惯查看PC版源码写建议用电脑版UA
  17. "UserAgent":"PC_UA",
  18. //图片是否需要走代理,一般是图片无Referer参数不显示那种需要,全局设置,0否,1是。
  19. "PicNeedProxy":"0",
  20. //是否开启获取首页数据,0关闭,1开启
  21. "homeContent":"1",
  22. //分类链接起始页码,禁止负数和含小数点。
  23. "firstpage": "1",
  24. //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
  25. "class_url": "https://1080p.tv/vodshow/{cateId}--------{catePg}---/[firstPage=https://1080p.tv/vodshow/{cateId}-----------/]",
  26. //分类名,分类1&分类2&分类3
  27. "class_name": "电影&电视剧&动漫&综艺",
  28. //分类名替换词,替换词1&替换词2&替换词3,替换词包含英文&的用两个中文&&代替,示例:&&id=0&&&id=1
  29. "class_value": "1&2&3&4",
  30. //筛选数据,支持直写,clan://本地路径(可能有bug),http云端链接,标准json格式,参考xpath的筛选写法
  31. "filterdata":{},
  32. //分类页面截取数据模式,0为json,1为普通网页。
  33. "cat_mode": "1",
  34. //分类json列表数组定位,最多支持3层,能力有限,不是所有页面都能支持
  35. //"catjsonlist": "data.list",
  36. ////分类json片单图片
  37. //"catjsonpic": "roomSrc",
  38. ////分类json片单标题
  39. //"catjsonname": "roomName",
  40. ////分类json片单链接
  41. //"catjsonid": "rid",
  42. ////分类json片单副标题
  43. //"catjsonstitle":"nickname",
  44. //分类是否二次截取
  45. "cat_YN_twice": "1",
  46. //分类二次截取前
  47. "cat_twice_pre": "class=\"module-items",
  48. //分类二次截取后
  49. "cat_twice_suf": "<div id=\"page\">",
  50. //分类数组截取前
  51. "cat_arr_pre": "<a",
  52. //分类数组截取后
  53. "cat_arr_suf": "</a>",
  54. //分类截取片单图片,截取前缀&&截取后缀
  55. "cat_pic": "data-original=\"&&\"",
  56. //分类截取片单标题,截取前缀&&截取后缀
  57. "cat_title": "title=\"&&\"",
  58. //分类截取片单副标题,截取前缀&&截取后缀
  59. "cat_subtitle": "class=\"module-item-note\">&&</div>",
  60. //分类截取片单链接,截取前缀&&截取后缀
  61. "cat_url": "href=\"&&\"",
  62. //分类片单链接补前缀
  63. "cat_prefix": "https://1080p.tv",
  64. //分类片单链接补后缀
  65. "cat_suffix": "",
  66. //搜索专属请求头UA,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
  67. //多个请求头参数写法示例,"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok",
  68. //习惯查看手机源码写建议用手机版UA,习惯查看PC版源码写建议用电脑版UA
  69. "SUserAgent":"PC_UA",
  70. //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
  71. //POST链接示例 http://www.lezhutv.com/index.php?m=vod-search;post
  72. "search_url": "https://1080p.tv/index.php/ajax/suggest?mid=1&wd={wd}&limit=20",
  73. //POST搜索body,填写搜索关键字的键值,一般常见的是searchword和wd,不是POST搜索的可留空或删除。
  74. //"sea_PtBody":"wd={wd}&search=",
  75. //搜索模式,0为json搜索,只支持列表在list数组里的,其它为网页截取。
  76. "search_mode": "0",
  77. //搜索json列表数组定位,不填默认内置list,最多支持3层,能力有限,不是所有页面都能支持。
  78. "jsonlist": "",
  79. //搜索json片单图片
  80. "jsonpic": "pic",
  81. //搜索json片单标题
  82. "jsonname": "name",
  83. //搜索json片单链接
  84. "jsonid": "id",
  85. //json片单副标题,这个很少有,预留着
  86. "jsonstitle":"",
  87. //搜索是否二次截取
  88. "sea_YN_twice": "0",
  89. //搜索二次截取前
  90. "sea_twice_pre": "空",
  91. //搜索二次截取后
  92. "sea_twice_suf": "",
  93. //搜索数组前缀
  94. "sea_arr_pre": "",
  95. //搜索数组后缀
  96. "sea_arr_suf": "",
  97. //搜索片单图片,截取前缀&&截取后缀
  98. "sea_pic": "",
  99. //搜索片单标题,截取前缀&&截取后缀
  100. "sea_title": "",
  101. //搜索片单链接,截取前缀&&截取后缀
  102. "sea_url": "",
  103. //搜索副标题,截取前缀&&截取后缀
  104. "sea_subtitle": "",
  105. //搜索片单链接补前缀
  106. "search_prefix": "https://1080p.tv/voddetail/",
  107. //搜索片单链接补后缀,这个一般json搜索的需要
  108. "search_suffix": "/",
  109. //片单链接是否直接播放,0否,1分类片单链接直接播放,2详情选集链接直接播放。
  110. //设置成直接播放后,后面3个参数请注意该留空的请务必留空。
  111. "force_play": "0",
  112. //直接播放链接补前缀
  113. "play_prefix": "",
  114. //直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
  115. "play_suffix": "",
  116. //直接播放链接设置请求头,只对直链视频有效,每一组用#分开
  117. "play_header": "",
  118. //演员和简介不支持使用jsoup写法,只支持关键字截取法
  119. //演员数据,截取前缀&&截取后缀
  120. "proj_actor": "主演:</span>&&</div>",
  121. //简介内容,截取前缀&&截取后缀
  122. "proj_plot": "class=\"module-info-introduction-content\">&&</p>",
  123. //线路截取区域,如果不需要请把tab_title或tab_arr_pre置空或者全部不要填。
  124. //线路是否二次截取
  125. "tab_YN_twice": "0",
  126. //线路二次截取前
  127. "tab_twice_pre": "",
  128. //线路二次截取后
  129. "tab_twice_suf": "",
  130. //线路截取数组前
  131. "tab_arr_pre": "class=\"module-tab-item tab-item",
  132. //线路截取数组后
  133. "tab_arr_suf": "</div>",
  134. //线路标题,截取前缀&&截取后缀
  135. "tab_title": "<span>&&</span>",
  136. //列表是否二次截取
  137. "list_YN_twice": "0",
  138. //列表二次截取前
  139. "list_twice_pre": "空",
  140. //列表二次截取后
  141. "list_twice_suf": "空",
  142. //列表数组截取前,必须
  143. "list_arr_pre": "class=\"module-play-list-content",
  144. //列表数组截取后,必须
  145. "list_arr_suf": "</div>",
  146. //集数是否二次截取
  147. "epi_YN_twice": "0",
  148. //集数二次截取前
  149. "epi_twice_pre": "空",
  150. //集数二次截取后
  151. "epi_twice_suf": "空",
  152. //集数数组截取前,必须
  153. "epi_arr_pre": "<a",
  154. //集数数组截取后,必须
  155. "epi_arr_suf": "</a>",
  156. //集数标题,截取前缀&&截取后缀
  157. "epi_title": "<span>&&</span>",
  158. //集数链接,截取前缀&&截取后缀
  159. "epi_url": "href=\"&&\"",
  160. //选集是否反转显示
  161. "epi_reverse": "0",
  162. //集数链接补前缀
  163. "epiurl_prefix": "https://1080p.tv",
  164. //集数链接补后缀
  165. "epiurl_suffix": "",
  166. //下面几个参数请勿乱用。否则可能会有副作用。
  167. //分析网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种源码的链接解析
  168. //如果网页源码里没有这种请设置为0
  169. "Anal_MacPlayer":"0",
  170. //是否开启手动嗅探,只对网页嗅探有效,0否,1是
  171. "ManualSniffer":"0",
  172. //手动嗅探视频链接关键字,每个用#隔开
  173. "VideoFormat":".mp4#.m3u8#.flv",
  174. //手动嗅探视频链接过滤关键词,每个用#隔开
  175. "VideoFilter":".html#=http",
  176. "筛选":{
  177. "1":[
  178. {"key":"class","name":"类型","value":[
  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. {"n":"冒险","v":"冒险"},
  191. {"n":"悬疑","v":"悬疑"},
  192. {"n":"武侠","v":"武侠"},
  193. {"n":"歌舞","v":"歌舞"},
  194. {"n":"奇幻","v":"奇幻"},
  195. {"n":"传记","v":"传记"},
  196. {"n":"警匪","v":"警匪"},
  197. {"n":"历史","v":" 历史"},
  198. {"n":"运动","v":"运动"},
  199. {"n":"记录","v":"记录"},
  200. {"n":"动画","v":"动画"}]},
  201. {"key":"area","name":"地区","value":[
  202. {"n":"全部","v":""},
  203. {"n":"大陆","v":"大陆"},
  204. {"n":"香港","v":"香港"},
  205. {"n":"台湾","v":"台湾"},
  206. {"n":"美国","v":"美国"},
  207. {"n":"法国","v":"法国"},
  208. {"n":"英国","v":"英国"},
  209. {"n":"日本","v":"日本"},
  210. {"n":"韩国","v":"韩国"},
  211. {"n":"德国","v":"德国"},
  212. {"n":"泰国","v":"泰国"},
  213. {"n":"印度","v":"印度"},
  214. {"n":"意大利","v":"意大利"},
  215. {"n":"西班牙","v":"西班牙"},
  216. {"n":"加拿大","v":"加拿大"},
  217. {"n":"其他","v":"其他"}]},
  218. {"key":"year","name":"年份","value":[
  219. {"n":"全部","v":""},
  220. {"n":"2022","v":"2022"},
  221. {"n":"2021","v":"2021"},
  222. {"n":"2020","v":"2020"},
  223. {"n":"2019","v":"2019"},
  224. {"n":"2018","v":"2018"},
  225. {"n":"2017","v":"2017"},
  226. {"n":"2016","v":"2016"},
  227. {"n":"2015","v":"2015"},
  228. {"n":"2014","v":"2014"},
  229. {"n":"2013","v":"2013"},
  230. {"n":"2012","v":"2012"},
  231. {"n":"2011","v":"2011"},
  232. {"n":"2010","v":"2010"}]},
  233. {"key":"by","name":"排序","value":[
  234. {"n":"时间","v":"time"},
  235. {"n":"人气","v":"hits"},
  236. {"n":"评分","v":"score"}]}],
  237. "2":[
  238. {"key":"class","name":"类型","value":[
  239. {"n":"全部","v":""},
  240. {"n":"古装","v":"古装"},
  241. {"n":"战争","v":"战争"},
  242. {"n":"青春偶像","v":"青春偶像"},
  243. {"n":"家庭","v":"家庭"},
  244. {"n":"犯罪","v":"犯罪"},
  245. {"n":"动作","v":"动作"},
  246. {"n":"奇幻","v":"奇幻"},
  247. {"n":"剧情","v":"剧情"},
  248. {"n":"历史","v":"历史"},
  249. {"n":"经典","v":"经典"},
  250. {"n":"乡村","v":"乡村"},
  251. {"n":"情景","v":"情景"},
  252. {"n":"商战","v":"商战"},
  253. {"n":"网剧","v":"网剧"},
  254. {"n":"其他","v":"其他"}]},
  255. {"key":"area","name":"地区","value":[
  256. {"n":"全部","v":""},
  257. {"n":"大陆","v":"大陆"},
  258. {"n":"台湾","v":"台湾"},
  259. {"n":"香港","v":"香港"},
  260. {"n":"韩国","v":"韩国"},
  261. {"n":"日本","v":"日本"},
  262. {"n":"美国","v":"美国"},
  263. {"n":"泰国","v":"泰国"},
  264. {"n":"英国","v":"英国"},
  265. {"n":"新加坡","v":"新加坡"},
  266. {"n":"其他","v":"其他"}]},
  267. {"key":"year","name":"年份","value":[
  268. {"n":"全部","v":""},
  269. {"n":"2022","v":"2022"},
  270. {"n":"2021","v":"2021"},
  271. {"n":"2020","v":"2020"},
  272. {"n":"2019","v":"2019"},
  273. {"n":"2018","v":"2018"},
  274. {"n":"2017","v":"2017"},
  275. {"n":"2016","v":"2016"},
  276. {"n":"2015","v":"2015"},
  277. {"n":"2014","v":"2014"},
  278. {"n":"2013","v":"2013"},
  279. {"n":"2012","v":"2012"},
  280. {"n":"2011","v":"2011"},
  281. {"n":"2010","v":"2010"},
  282. {"n":"2009","v":"2009"},
  283. {"n":"2008","v":"2008"},
  284. {"n":"2006","v":"2006"},
  285. {"n":"2005","v":"2005"},
  286. {"n":"2004","v":"2004"}]},
  287. {"key":"by","name":"排序","value":[
  288. {"n":"时间","v":"time"},
  289. {"n":"人气","v":"hits"},
  290. {"n":"评分","v":"score"}]}],
  291. "4":[
  292. {"key":"area","name":"地区","value":[
  293. {"n":"全部","v":""},
  294. {"n":"中国","v":"中国"},
  295. {"n":"日本","v":"日本"},
  296. {"n":"欧美","v":"欧美"},
  297. {"n":"其他","v":"其他"}]},
  298. {"key":"year","name":"年份","value":[
  299. {"n":"全部","v":""},
  300. {"n":"2022","v":"2022"},
  301. {"n":"2021","v":"2021"},
  302. {"n":"2020","v":"2020"},
  303. {"n":"2019","v":"2019"},
  304. {"n":"2018","v":"2018"},
  305. {"n":"2017","v":"2017"},
  306. {"n":"2016","v":"2016"},
  307. {"n":"2015","v":"2015"},
  308. {"n":"2014","v":"2014"},
  309. {"n":"2013","v":"2013"},
  310. {"n":"2012","v":"2012"},
  311. {"n":"2011","v":"2011"},
  312. {"n":"2010","v":"2010"},
  313. {"n":"2009","v":"2009"},
  314. {"n":"2008","v":"2008"},
  315. {"n":"2007","v":"2007"},
  316. {"n":"2006","v":"2006"},
  317. {"n":"2005","v":"2005"},
  318. {"n":"2004","v":"2004"}]},
  319. {"key":"by","name":"排序","value":[
  320. {"n":"时间","v":"time"},
  321. {"n":"人气","v":"hits"},
  322. {"n":"评分","v":"score"}]}],
  323. "3":[
  324. {"key":"area","name":"地区","value":[
  325. {"n":"全部","v":""},
  326. {"n":"内地","v":"内地"},
  327. {"n":"港台","v":"港台"},
  328. {"n":"日韩","v":"日韩"},
  329. {"n":"欧美","v":"欧美"}]},
  330. {"key":"year","name":"年份","value":[
  331. {"n":"全部","v":""},
  332. {"n":"2022","v":"2022"},
  333. {"n":"2021","v":"2021"},
  334. {"n":"2020","v":"2020"},
  335. {"n":"2019","v":"2019"},
  336. {"n":"2018","v":"2018"},
  337. {"n":"2017","v":"2017"},
  338. {"n":"2016","v":"2016"},
  339. {"n":"2015","v":"2015"},
  340. {"n":"2014","v":"2014"},
  341. {"n":"2013","v":"2013"},
  342. {"n":"2012","v":"2012"},
  343. {"n":"2011","v":"2011"},
  344. {"n":"2010","v":"2010"},
  345. {"n":"2009","v":"2009"},
  346. {"n":"2008","v":"2008"},
  347. {"n":"2007","v":"2007"},
  348. {"n":"2006","v":"2006"},
  349. {"n":"2005","v":"2005"},
  350. {"n":"2004","v":"2004"}]},
  351. {"key":"by","name":"排序","value":[
  352. {"n":"时间","v":"time"},
  353. {"n":"人气","v":"hits"},
  354. {"n":"评分","v":"score"}]}]}
  355. }