城市影视.js 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. var rule = {
  2. title: '城市影视',
  3. host: 'https://www.citydy.com',
  4. // homeUrl:'/',
  5. url: '/show/id-fyclassfyfilter.html',
  6. searchUrl: '/search/page/fypage/wd/**.html',
  7. class_name:'电影&电视剧&综艺&动漫&纪录片',
  8. class_url:'1&2&3&4&5',
  9. filter_url:'{{fl.cateId}}{{fl.area}}{{fl.by}}{{fl.class}}/page/fypage{{fl.year}}',
  10. filter: {
  11. "1":[
  12. {"key":"class","name":"剧情","value":[
  13. {"n":"全部","v":""},
  14. {"n":"喜剧","v":"/class/喜剧"},
  15. {"n":"爱情","v":"/class/爱情"},
  16. {"n":"恐怖","v":"/class/恐怖"},
  17. {"n":"动作","v":"/class/动作"},
  18. {"n":"科幻","v":"/class/科幻"},
  19. {"n":"剧情","v":"/class/剧情"},
  20. {"n":"战争","v":"/class/战争"},
  21. {"n":"犯罪","v":"/class/犯罪"},
  22. {"n":"灾难","v":"/class/灾难"},
  23. {"n":"奇幻","v":"/class/奇幻"},
  24. {"n":"悬疑","v":"/class/悬疑"},
  25. {"n":"惊悚","v":"/class/惊悚"},
  26. {"n":"冒险","v":"/class/冒险"}]},
  27. {"key":"area","name":"地区","value":[
  28. {"n":"全部","v":""},
  29. {"n":"大陆","v":"/area/大陆"},
  30. {"n":"香港","v":"/area/香港"},
  31. {"n":"台湾","v":"/area/台湾"},
  32. {"n":"美国","v":"/area/美国"},
  33. {"n":"法国","v":"/area/法国"},
  34. {"n":"英国","v":"/area/英国"},
  35. {"n":"日本","v":"/area/日本"},
  36. {"n":"韩国","v":"/area/韩国"},
  37. {"n":"德国","v":"/area/德国"},
  38. {"n":"泰国","v":"/area/泰国"},
  39. {"n":"印度","v":"/area/印度"},
  40. {"n":"其他","v":"/area/其他"}]},
  41. {"key":"year","name":"年份","value":[
  42. {"n":"全部","v":""},
  43. {"n":"2023","v":"/year/2023"},
  44. {"n":"2022","v":"/year/2022"},
  45. {"n":"2021","v":"/year/2021"},
  46. {"n":"2020","v":"/year/2020"},
  47. {"n":"2019","v":"/year/2019"},
  48. {"n":"2018","v":"/year/2018"},
  49. {"n":"2017","v":"/year/2017"},
  50. {"n":"2016","v":"/year/2016"},
  51. {"n":"2008","v":"/year/2008"},
  52. {"n":"2000","v":"/year/2000"},
  53. {"n":"1997","v":"/year/1997"}]},
  54. {"key":"by","name":"排序","value":[
  55. {"n":"全部","v":""},
  56. {"n":"时间","v":"/by/time"},
  57. {"n":"人气","v":"/by/hits"},
  58. {"n":"评分","v":"/by/score"}]}],
  59. "2":[
  60. {"key":"class","name":"剧情","value":[
  61. {"n":"全部","v":""},
  62. {"n":"古装","v":"/class/古装"},
  63. {"n":"战争","v":"/class/战争"},
  64. {"n":"偶像","v":"/class/偶像"},
  65. {"n":"犯罪","v":"/class/犯罪"},
  66. {"n":"奇幻","v":"/class/奇幻"},
  67. {"n":"剧情","v":"/class/剧情"},
  68. {"n":"历史","v":"/class/历史"},
  69. {"n":"网剧","v":"/class/网剧"}]},
  70. {"key":"area","name":"地区","value":[
  71. {"n":"全部","v":""},
  72. {"n":"大陆","v":"/area/大陆"},
  73. {"n":"韩国","v":"/area/韩国"},
  74. {"n":"香港","v":"/area/香港"},
  75. {"n":"台湾","v":"/area/台湾"},
  76. {"n":"日本","v":"/area/日本"},
  77. {"n":"美国","v":"/area/美国"},
  78. {"n":"泰国","v":"/area/泰国"},
  79. {"n":"英国","v":"/area/英国"},
  80. {"n":"新加坡","v":"/area/新加坡"},
  81. {"n":"其他","v":"/area/其他"}]},
  82. {"key":"year","name":"年份","value":[
  83. {"n":"全部","v":""},
  84. {"n":"2023","v":"/year/2023"},
  85. {"n":"2022","v":"/year/2022"},
  86. {"n":"2021","v":"/year/2021"},
  87. {"n":"2020","v":"/year/2020"},
  88. {"n":"2019","v":"/year/2019"},
  89. {"n":"2018","v":"/year/2018"},
  90. {"n":"2017","v":"/year/2017"},
  91. {"n":"2016","v":"/year/2016"},
  92. {"n":"2008","v":"/year/2008"},
  93. {"n":"2000","v":"/year/2000"},
  94. {"n":"1997","v":"/year/1997"}]},
  95. {"key":"by","name":"排序","value":[
  96. {"n":"全部","v":""},
  97. {"n":"时间","v":"/by/time"},
  98. {"n":"人气","v":"/by/hits"},
  99. {"n":"评分","v":"/by/score"}]}],
  100. "3":[
  101. {"key":"class","name":"剧情","value":[
  102. {"n":"全部","v":""},
  103. {"n":"相声","v":"/class/相声"},
  104. {"n":"真人秀","v":"/class/真人秀"},
  105. {"n":"脱口秀","v":"/class/脱口秀"},
  106. {"n":"选秀","v":"/class/选秀"},
  107. {"n":"情感","v":"/class/情感"},
  108. {"n":"访谈","v":"/class/访谈"},
  109. {"n":"播报","v":"/class/播报"},
  110. {"n":"旅游","v":"/class/旅游"},
  111. {"n":"音乐","v":"/class/音乐"},
  112. {"n":"美食","v":"/class/美食"},
  113. {"n":"纪实","v":"/class/纪实"},
  114. {"n":"舞蹈","v":"/class/舞蹈"}]},
  115. {"key":"area","name":"地区","value":[
  116. {"n":"全部","v":""},
  117. {"n":"大陆","v":"/area/大陆"},
  118. {"n":"香港","v":"/area/香港"},
  119. {"n":"台湾","v":"/area/台湾"},
  120. {"n":"日本","v":"/area/日本"},
  121. {"n":"欧美","v":"/area/欧美"},
  122. {"n":"韩国","v":"/area/韩国"}]},
  123. {"key":"year","name":"年份","value":[
  124. {"n":"全部","v":""},
  125. {"n":"2023","v":"/year/2023"},
  126. {"n":"2022","v":"/year/2022"},
  127. {"n":"2021","v":"/year/2021"},
  128. {"n":"2020","v":"/year/2020"},
  129. {"n":"2019","v":"/year/2019"},
  130. {"n":"2018","v":"/year/2018"},
  131. {"n":"2017","v":"/year/2017"},
  132. {"n":"2016","v":"/year/2016"},
  133. {"n":"2008","v":"/year/2008"},
  134. {"n":"2000","v":"/year/2000"},
  135. {"n":"1997","v":"/year/1997"}]},
  136. {"key":"by","name":"排序","value":[
  137. {"n":"全部","v":""},
  138. {"n":"时间","v":"/by/time"},
  139. {"n":"人气","v":"/by/hits"},
  140. {"n":"评分","v":"/by/score"}]}],
  141. "4":[
  142. {"key":"class","name":"剧情","value":[
  143. {"n":"全部","v":""},
  144. {"n":"科幻","v":"/class/科幻"},
  145. {"n":"热血","v":"/class/热血"},
  146. {"n":"推理","v":"/class/推理"},
  147. {"n":"搞笑","v":"/class/搞笑"},
  148. {"n":"冒险","v":"/class/冒险"},
  149. {"n":"萝莉","v":"/class/萝莉"},
  150. {"n":"校园","v":"/class/校园"},
  151. {"n":"动作","v":"/class/动作"},
  152. {"n":"机战","v":"/class/机战"},
  153. {"n":"运动","v":"/class/运动"},
  154. {"n":"战争","v":"/class/战争"},
  155. {"n":"少年","v":"/class/少年"},
  156. {"n":"少女","v":"/class/少女"}]},
  157. {"key":"area","name":"地区","value":[
  158. {"n":"全部","v":""},
  159. {"n":"大陆","v":"/area/大陆"},
  160. {"n":"日本","v":"/area/日本"},
  161. {"n":"欧美","v":"/area/欧美"},
  162. {"n":"海外","v":"/area/海外"}]},
  163. {"key":"year","name":"年份","value":[
  164. {"n":"全部","v":""},
  165. {"n":"2023","v":"/year/2023"},
  166. {"n":"2022","v":"/year/2022"},
  167. {"n":"2021","v":"/year/2021"},
  168. {"n":"2020","v":"/year/2020"},
  169. {"n":"2019","v":"/year/2019"},
  170. {"n":"2018","v":"/year/2018"},
  171. {"n":"2017","v":"/year/2017"},
  172. {"n":"2016","v":"/year/2016"},
  173. {"n":"2008","v":"/year/2008"},
  174. {"n":"2000","v":"/year/2000"},
  175. {"n":"1997","v":"/year/1997"}]},
  176. {"key":"by","name":"排序","value":[
  177. {"n":"全部","v":""},
  178. {"n":"时间","v":"/by/time"},
  179. {"n":"人气","v":"/by/hits"},
  180. {"n":"评分","v":"/by/score"}]}],
  181. "5":[
  182. {"key":"class","name":"剧情","value":[
  183. {"n":"全部","v":""},
  184. {"n":"历史","v":"/class/历史"},
  185. {"n":"传记","v":"/class/传记"},
  186. {"n":"生活","v":"/class/生活"},
  187. {"n":"人文","v":"/class/人文"},
  188. {"n":"地理","v":"/class/地理"},
  189. {"n":"舞台","v":"/class/舞台"},
  190. {"n":"专题","v":"/class/专题"},
  191. {"n":"时事","v":"/class/时事"},
  192. {"n":"宣传","v":"/class/宣传"}]},
  193. {"key":"area","name":"地区","value":[
  194. {"n":"全部","v":""},
  195. {"n":"大陆","v":"/area/大陆"},
  196. {"n":"香港","v":"/area/香港"},
  197. {"n":"台湾","v":"/area/台湾"},
  198. {"n":"日本","v":"/area/日本"},
  199. {"n":"欧美","v":"/area/欧美"}]},
  200. {"key":"year","name":"年份","value":[
  201. {"n":"全部","v":""},
  202. {"n":"2023","v":"/year/2023"},
  203. {"n":"2022","v":"/year/2022"},
  204. {"n":"2021","v":"/year/2021"},
  205. {"n":"2020","v":"/year/2020"},
  206. {"n":"2019","v":"/year/2019"},
  207. {"n":"2018","v":"/year/2018"},
  208. {"n":"2017","v":"/year/2017"},
  209. {"n":"2016","v":"/year/2016"},
  210. {"n":"2008","v":"/year/2008"},
  211. {"n":"2000","v":"/year/2000"},
  212. {"n":"1997","v":"/year/1997"}]},
  213. {"key":"by","name":"排序","value":[
  214. {"n":"全部","v":""},
  215. {"n":"时间","v":"/by/time"},
  216. {"n":"人气","v":"/by/hits"},
  217. {"n":"评分","v":"/by/score"}]}]},
  218. searchable: 2,//是否启用全局搜索,
  219. quickSearch: 0,//是否启用快速搜索,
  220. filterable: 0,//是否启用分类筛选,
  221. headers: {//网站的请求头,完整支持所有的,常带ua和cookies
  222. 'User-Agent': 'MOBILE_UA',
  223. // "Cookie": "searchneed=ok"
  224. },
  225. play_parse: true,//播放是否解析
  226. lazy: '',//是否免嗅探
  227. limit: 6,
  228. 推荐:'ul.img-list;li;a&&title;.lazyload&&data-original;.text-right&&Text;a&&href',
  229. double:true, // 推荐内容是否双层定位
  230. 一级:'.img-list li;a&&title;.lazyload&&data-original;.text-right&&Text;a&&href',
  231. 二级:{"title":"h1&&Text;.t-muted:eq(-1)&&Text","img":".lazyload&&data-original","desc":";;.vod-detail-info&&ul&&li:eq(2)&&Text;.vod-detail-info&&ul&&li:eq(3)&&Text;.vod-detail-info&&ul&&li:eq(4)&&Text","content":".vod-detail-info&&ul&&li:eq(10)&&Text","tabs":".details-play-nav li","lists":".play-list.fade-in:eq(#id) li"},
  232. 搜索:'.img-list li;a&&title;*;.title.text-center&&Text;a&&href;.text-muted:eq(-1)&&Text',
  233. }