电影先生N.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. //写法思路来自biubiu影院,海阔视界,xpath筛选。
  2. {
  3. //规则名
  4. "title": "电影先生",
  5. //作者
  6. "author": "认真の雪",
  7. //请求UA
  8. "UserAgent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36",
  9. //分类链接起始页码,禁止负数于合含小数点。
  10. "firstpage": "1",
  11. //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
  12. "class_url": "https://dyxs21.com/pianku-{cateId}-{area}-{by}-{class}-{lang}----{catePg}---{year}/",
  13. //分类名
  14. "class_name": "电视剧&电影&动漫&综艺",
  15. //分类名替换词,替换词中有英文&的用两个中文&&代替
  16. "class_value": "dianshiju&dianying&dongman&zongyi",
  17. //筛选数据,json格式,参考xpath的筛选写法
  18. "filterdata":{},
  19. //分类是否二次截取
  20. "cat_YN_twice": "0",
  21. //分类二次截取前
  22. "cat_twice_pre": "空",
  23. //分类二次截取后
  24. "cat_twice_suf": "空",
  25. //分类数组截取前
  26. "cat_arr_pre": "class=\"module-item",
  27. //分类数组截取后
  28. "cat_arr_suf": "/div></div>",
  29. //分类截取片单图片,截取前缀&&截取后缀
  30. "cat_pic": "data-src=\"&&\"",
  31. //分类截取片单标题,截取前缀&&截取后缀
  32. "cat_title": "title=\"&&\"",
  33. //分类截取片单副标题,截取前缀&&截取后缀
  34. "cat_subtitle": "class=\"module-item-text\">&&<",
  35. //分类截取片单链接,截取前缀&&截取后缀
  36. "cat_url": "href=\"&&\"",
  37. //分类片单链接补前缀
  38. "cat_prefix": "https://dyxs21.com",
  39. //分类片单链接补后缀
  40. "cat_suffix": "",
  41. //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
  42. "search_url": "https://dyxs21.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=50",
  43. //搜索模式,0为json搜索,只支持列表在list数组里的,其它为网页截取。
  44. "search_mode": "0",
  45. //json片单图片
  46. "jsonpic": "pic",
  47. //json片单标题
  48. "jsonname": "name",
  49. //json片单链接
  50. "jsonid": "id",
  51. //json片单副标题,这个很少有,预留着
  52. "jsonstitle":"",
  53. //搜索是否二次截取
  54. "sea_YN_twice": "0",
  55. //搜索二次截取前
  56. "sea_twice_pre": "空",
  57. //搜索二次截取后
  58. "sea_twice_suf": "空",
  59. //搜索数组前缀
  60. "sea_arr_pre": "",
  61. //搜索数组后缀
  62. "sea_arr_suf": "",
  63. //搜索片单图片,截取前缀&&截取后缀
  64. "sea_pic": "",
  65. //搜索片单标题,截取前缀&&截取后缀
  66. "sea_title": "",
  67. //搜索片单链接,截取前缀&&截取后缀
  68. "sea_url": "",
  69. //搜索片单链接补前缀
  70. "search_prefix": "https://dyxs21.com/show-",
  71. //搜索片单链接补后缀,这个一般json搜索的需要
  72. "search_suffix": "/",
  73. //搜索副标题,截取前缀&&截取后缀
  74. "sea_subtitle": "",
  75. //片单链接是否直接播放,1是直接播放。
  76. "force_play": "0",
  77. //直接播放链接补前缀
  78. "play_prefix": "",
  79. //直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
  80. "play_suffix": "",
  81. //直接播放链接设置请求头,每一组用#分开
  82. "play_header": "",
  83. //演员数据,截取前缀&&截取后缀
  84. "proj_actor": "主演:</span>&&class=\"video-info-items",
  85. //简介内容,截取前缀&&截取后缀
  86. "proj_plot": "<meta name=\"description\" content=\"&&\"",
  87. //线路是否二次截取
  88. "tab_YN_twice": "0",
  89. //线路二次截取前
  90. "tab_twice_pre": "",
  91. //线路二次截取后
  92. "tab_twice_suf": "",
  93. //线路截取数组前
  94. "tab_arr_pre": "module-tab-item tab-item",
  95. //线路截取数组后
  96. "tab_arr_suf": "</div>",
  97. //线路标题,截取前缀&&截取后缀
  98. "tab_title": "\">&&</small>",
  99. //列表是否二次截取
  100. "list_YN_twice": "0",
  101. //列表二次截取前
  102. "list_twice_pre": "",
  103. //列表二次截取后
  104. "list_twice_suf": "",
  105. //列表数组截取前
  106. "list_arr_pre": "class=\"module-blocklist scroll-box scroll-box-y",
  107. //列表数组截取后
  108. "list_arr_suf": "</div>",
  109. //集数是否二次截取
  110. "epi_YN_twice": "0",
  111. //集数二次截取前
  112. "epi_twice_pre": "空",
  113. //集数二次截取后
  114. "epi_twice_suf": "空",
  115. //集数数组截取前
  116. "epi_arr_pre": "<a",
  117. //集数数组截取后
  118. "epi_arr_suf": "/a>",
  119. //集数标题,截取前缀&&截取后缀
  120. "epi_title": "<span itemprop=\"episodeNumber\">&&<",
  121. //集数链接,截取前缀&&截取后缀
  122. "epi_url": "href=\"&&\"",
  123. //集数链接补前缀
  124. "epiurl_prefix": "https://dyxs21.com",
  125. //集数链接补后缀
  126. "epiurl_suffix": ""
  127. }