酷狗MV.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. //规则名
  3. "title": "酷狗mv",
  4. //作者
  5. "author": "香雅情",
  6. //请求头UA,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
  7. //"UserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36",
  8. "UserAgent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0",
  9. //请求头Referer参数,如果只是播放页需要,填WebView即可引用播放页的链接作嗅探Referer参数。
  10. "Referer":"https://www.kugou.com/",
  11. //是否开启获取首页数据,0关闭,1开启
  12. "homeContent":"1",
  13. //分类链接起始页码,禁止负数和含小数点。
  14. "firstpage": "1",
  15. //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
  16. "class_url": "https://www.kugou.com/mvweb/html/index_{cateId}_{catePg}.html",
  17. //"class_url": "http://www.blssv.com/index.php/vod/show/id/{cateId}/page/{catePg}.html",
  18. //分类名,分类1&分类2&分类3
  19. "class_name": "新歌推荐&华语精选&日韩精选&欧美精选",
  20. //分类名替换词,替换词1&替换词2&替换词3,替换词包含英文&的用两个中文&&代替,示例:&&id=0&&&id=1
  21. "class_value": "9&13&17&16",
  22. //筛选数据,json格式,参考xpath的筛选写法
  23. "filterdata": {
  24. },
  25. //分类是否二次截取
  26. "cat_YN_twice": "1",
  27. "cat_twice_pre": "class=\"mvlist\"",
  28. "cat_twice_suf": "</div>",
  29. //分类数组截取前
  30. "cat_arr_pre": "target=\"_blank\"",
  31. //分类数组截取后
  32. "cat_arr_suf": "<span>",
  33. //分类截取片单图片,截取前缀&&截取后缀
  34. "cat_pic": "_src=\"&&\"",
  35. //分类截取片单标题,截取前缀&&截取后缀
  36. "cat_title": "title=\"&&\"",
  37. //分类截取片单副标题,截取前缀&&截取后缀
  38. "cat_subtitle": "module-item-caption\">&&</div",
  39. //分类截取片单链接,截取前缀&&截取后缀
  40. "cat_url": "href=\"&&\"",
  41. //分类片单链接补前缀
  42. "cat_prefix": "https://www.kugou.com",
  43. //分类片单链接补后缀
  44. "cat_suffix": "",
  45. //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
  46. //POST链接示例 http://www.lezhutv.com/index.php?m=vod-search;post
  47. "search_url": "",
  48. //搜索模式,0为json搜索,只支持列表在list数组里的,其它为网页截取。
  49. "search_mode": "0",
  50. "jsonpic": "pic",
  51. "jsonname": "name",
  52. "jsonid": "id",
  53. //json片单副标题,这个很少有,预留着
  54. "jsonstitle":"",
  55. //搜索是否二次截取
  56. "sea_YN_twice": "",
  57. "sea_twice_pre": "",
  58. "sea_twice_suf": "",
  59. "sea_arr_pre": "",
  60. "sea_arr_suf": "",
  61. "sea_pic": "",
  62. "sea_title": "",
  63. "sea_url": "",
  64. //搜索数组前缀
  65. //"search_prefix": "",
  66. "search_prefix": "",
  67. "search_suffix": "",
  68. "sea_subtitle": "",
  69. //片单链接是否直接播放,1是直接播放,0否。
  70. "force_play": "1",
  71. //直接播放链接补前缀
  72. "play_prefix": "空",
  73. //直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
  74. "play_suffix": "",
  75. //直接播放链接设置请求头,只对直链视频有效,每一组用#分开
  76. "play_header": "空",
  77. //演员数据,截取前缀&&截取后缀
  78. "proj_actor": "",
  79. //简介内容,截取前缀&&截取后缀
  80. "proj_plot": "",
  81. //线路截取区域,如果不需要请把tab_title或tab_arr_pre置空或者全部不要填。
  82. //线路是否二次截取
  83. "tab_YN_twice": "0",
  84. "tab_twice_pre": "",
  85. "tab_twice_suf": "",
  86. //线路截取数组前
  87. "tab_arr_pre": "",
  88. "tab_arr_suf": "",
  89. //线路标题,截取前缀&&截取后缀
  90. "tab_title": "",
  91. //列表是否二次截取
  92. "list_YN_twice": "0",
  93. "list_twice_pre": "空",
  94. "list_twice_suf": "空",
  95. //列表数组截取前,必须
  96. "list_arr_pre": "",
  97. "list_arr_suf": "",
  98. //集数是否二次截取
  99. "epi_YN_twice": "0",
  100. "epi_twice_pre": "空",
  101. "epi_twice_suf": "空",
  102. "epi_arr_pre": "",
  103. "epi_arr_suf": "",
  104. //集数标题,截取前缀&&截取后缀
  105. "epi_title": "",
  106. //集数链接,截取前缀&&截取后缀
  107. "epi_url": "",
  108. //集数链接补前缀
  109. "epiurl_prefix": "",
  110. "epiurl_suffix": "",
  111. //分析网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种源码的链接解析
  112. //如果网页源码里没有这种请设置为0
  113. "Anal_MacPlayer":"0",
  114. //是否开启手动嗅探,只对网页嗅探有效,0否,1是
  115. "ManualSniffer":"1",
  116. //手动嗅探视频链接关键字,每个用#隔开
  117. "VideoFormat":".mp4#.m3u8#.flv#is_play_url=1#item/video#kaiyanapp#qianpailive"
  118. }