饭团.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. //规则名
  3. "title": "饭团影视",
  4. //作者
  5. "author": "聆听优美旋律",
  6. //请求UA
  7. "UserAgent":"User-Agent$PC_UA",
  8. //"Referer":"",
  9. //是否开启获取首页数据,0关闭,1开启
  10. "homeContent":"0",
  11. //分类链接起始页码,禁止负数于合含小数点。
  12. "firstpage": "1",
  13. //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
  14. "class_url": "https://www.fantuanhd.com/type/id-{cateId}-{catePg}.html",
  15. //分类名
  16. "class_name": "电影&电视剧&综艺&动漫&纪录片&动画片",
  17. //分类名替换词,替换词中有英文&的用两个中文&&代替
  18. "class_value": "20&21&22&23&24&25",
  19. //筛选数据,json格式,参考xpath的筛选写法
  20. "filterdata":{},
  21. //分类是否二次截取,0否,1是
  22. "cat_YN_twice": "1",
  23. //分类二次截取前
  24. "cat_twice_pre": "stui-vodlist clearfix",
  25. //分类二次截取后
  26. "cat_twice_suf": "</ul>",
  27. //分类数组截取前
  28. "cat_arr_pre": "<li",
  29. //分类数组截取后
  30. "cat_arr_suf": "</li>",
  31. //分类截取图片,截取前缀&&截取后缀
  32. "cat_pic": "data-original=\"&&\"",
  33. //分类截取标题,截取前缀&&截取后缀
  34. "cat_title": "title=\"&&\"",
  35. //分类截取副标题,截取前缀&&截取后缀
  36. "cat_subtitle": "text-right\">&&<",
  37. //分类截取片单链接,截取前缀&&截取后缀
  38. "cat_url": "href=\"&&\"",
  39. //分类片单链接补前缀
  40. "cat_prefix": "https://www.fantuanhd.com",
  41. //分类片单链接补后缀
  42. "cat_suffix": "",
  43. "SUserAgent":"User-Agent$MOBILE_UA",
  44. //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
  45. "search_url": "https://www.fantuanhd.com/search.html?wd={wd}&submit=",
  46. //搜索模式,0为json搜索,只支持列表在list数组里的,其它为网页截取。
  47. "search_mode": "1",
  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": "https://www.fantuanhd.com",
  74. //搜索片单链接补后缀,这个一般json搜索的需要
  75. "search_suffix": "",
  76. //搜索副标题,截取前缀&&截取后缀
  77. "sea_subtitle": "text-right\">&&<",
  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": "data\">主演:&&</p>",
  88. //简介内容,截取前缀&&截取后缀
  89. "proj_plot": "简介:&&</p",
  90. //线路是否二次截取,0否,1是
  91. "tab_YN_twice": "1",
  92. //线路二次截取前
  93. "tab_twice_pre": "tab-top play-tab",
  94. //线路二次截取后
  95. "tab_twice_suf": "</ul>",
  96. //线路截取数组前
  97. "tab_arr_pre": "<li>",
  98. //线路截取数组后
  99. "tab_arr_suf": "</li>",
  100. //线路标题,截取前缀&&截取后缀
  101. "tab_title": ">&&<",
  102. //列表是否二次截取,0否,1是
  103. "list_YN_twice": "0",
  104. //列表二次截取前
  105. "list_twice_pre": "空",
  106. //列表二次截取后
  107. "list_twice_suf": "空",
  108. //列表数组截取前
  109. "list_arr_pre": "class=\"stui-play__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": "https://www.fantuanhd.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. }