TVB云播.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {
  2. //规则名
  3. "title": "TVB云播",
  4. //作者
  5. "author": "聆听优美旋律",
  6. //请求UA
  7. "UserAgent":"Mozilla/5.0 (Linux; Android 11; Mi 10 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 Mobile Safari/537.36",
  8. //"Referer":"",
  9. "SUserAgent":"User-Agent$MOBILE_UA",
  10. //是否开启获取首页数据,0关闭,1开启
  11. "homeContent":"0",
  12. //分类链接起始页码,禁止负数于合含小数点。
  13. "firstpage": "1",
  14. //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
  15. "class_url": "http://www.tvyb03.com/vod/type/id/{cateId}/page/{catePg}.html",
  16. //分类名
  17. "class_name": "电影&电视剧&综艺&动漫&动作片&喜剧片&爱情片&科幻片&恐怖片&剧情片&战争片&国产剧&港台剧&日韩剧&欧美剧",
  18. //分类名替换词,替换词中有英文&的用两个中文&&代替
  19. "class_value": "1&2&3&4&6&7&8&9&10&11&12&13&14&15&16",
  20. //筛选数据,json格式,参考xpath的筛选写法
  21. "filterdata":{},
  22. //分类是否二次截取,0否,1是
  23. "cat_YN_twice": "1",
  24. //分类二次截取前
  25. "cat_twice_pre": "myui-vodlist clearfix",
  26. //分类二次截取后
  27. "cat_twice_suf": "</ul>",
  28. //分类数组截取前
  29. "cat_arr_pre": "<li",
  30. //分类数组截取后
  31. "cat_arr_suf": "</li>",
  32. //分类截取图片,截取前缀&&截取后缀
  33. "cat_pic": "data-original=\"&&\"",
  34. //分类截取标题,截取前缀&&截取后缀
  35. "cat_title": "title=\"&&\"",
  36. //分类截取副标题,截取前缀&&截取后缀
  37. "cat_subtitle": "pic-tag-top\">&&</span",
  38. //分类截取片单链接,截取前缀&&截取后缀
  39. "cat_url": "href=\"&&\"",
  40. //分类片单链接补前缀
  41. "cat_prefix": "http://www.tvyb03.com",
  42. //分类片单链接补后缀
  43. "cat_suffix": "",
  44. //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
  45. "search_url": "http://www.tvyb03.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=50",
  46. //搜索模式,0为json搜索,只支持列表在list数组里的,其它为网页截取。
  47. "search_mode": "0",
  48. //json图片
  49. "jsonpic": "pic",
  50. //json标题
  51. "jsonname": "name",
  52. //json链接
  53. "jsonid": "id",
  54. //json副标题,这个很少有,预留着
  55. "jsonstitle":"",
  56. //搜索是否二次截取,0否,1是
  57. "sea_YN_twice": "0",
  58. //搜索二次截取前
  59. "sea_twice_pre": "空",
  60. //搜索二次截取后
  61. "sea_twice_suf": "空",
  62. //搜索数组前缀
  63. "sea_arr_pre": "col-md-6 col-sm-4 col-xs-3",
  64. //搜索数组后缀
  65. "sea_arr_suf": "/li>",
  66. //搜索图片,截取前缀&&截取后缀
  67. "sea_pic": "original=\"&&\"",
  68. //搜索标题,截取前缀&&截取后缀
  69. "sea_title": "title=\"&&\"",
  70. //搜索片单链接,截取前缀&&截取后缀
  71. "sea_url": "href=\"&&\"",
  72. //搜索片单链接补前缀
  73. "search_prefix": "http://www.tvyb03.com/vod/detail/id/",
  74. //搜索片单链接补后缀,这个一般json搜索的需要
  75. "search_suffix": ".html",
  76. //搜索副标题,截取前缀&&截取后缀
  77. "sea_subtitle": "",
  78. //片单链接是否直接播放,0否,1是
  79. "force_play": "0",
  80. //直接播放链接补前缀
  81. "play_prefix": "https://live.52sf.ga/huya/",
  82. //直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
  83. "play_suffix": "#isVideo=true#",
  84. //直接播放链接设置请求头
  85. "play_header": "user$mozli#",
  86. //演员数据,截取前缀&&截取后缀
  87. "proj_actor": "主演:</span>&&</p>",
  88. //简介内容,截取前缀&&截取后缀
  89. "proj_plot": "简介:</span>&&</p",
  90. //线路是否二次截取,0否,1是
  91. "tab_YN_twice": "0",
  92. //线路二次截取前
  93. "tab_twice_pre": "",
  94. //线路二次截取后
  95. "tab_twice_suf": "",
  96. //线路截取数组前
  97. "tab_arr_pre": "myui-panel__head bottom-line",
  98. //线路截取数组后
  99. "tab_arr_suf": "myui-content__list",
  100. //线路标题,截取前缀&&截取后缀
  101. "tab_title": "title\">&&</h3>",
  102. //列表是否二次截取,0否,1是
  103. "list_YN_twice": "0",
  104. //列表二次截取前
  105. "list_twice_pre": "空",
  106. //列表二次截取后
  107. "list_twice_suf": "空",
  108. //列表数组截取前
  109. "list_arr_pre": "class=\"myui-content__list",
  110. //列表数组截取后
  111. "list_arr_suf": "</ul>",
  112. //集数是否二次截取,0否,1是
  113. "epi_YN_twice": "0",
  114. //集数二次截取前
  115. "epi_twice_pre": "空",
  116. //集数二次截取后
  117. "epi_twice_suf": "空",
  118. //集数数组截取前
  119. "epi_arr_pre": "<a",
  120. //集数数组截取后
  121. "epi_arr_suf": "/a>",
  122. //集数标题,截取前缀&&截取后缀
  123. "epi_title": ">&&<",
  124. //集数链接,截取前缀&&截取后缀
  125. "epi_url": "href=\"&&\"",
  126. //集数链接补前缀
  127. "epiurl_prefix": "http://www.tvyb03.com",
  128. //集数链接补后缀
  129. "epiurl_suffix": "",
  130. //尝试分析macplayer链接,0否,1是
  131. //网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种的链接解析
  132. "Anal_MacPlayer":"0",
  133. //是否开启手动嗅探,0否,1是
  134. "ManualSniffer":"0",
  135. //手动嗅探视频链接关键字,每个用#隔开
  136. "VideoFormat":".mp4#.m3u8#.flv"
  137. }