config.txt.old2 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. {
  2. {% if config.WALL_PAPER_ENABLE %}"wallpaper":"{{ host }}/pics",{% endif %}
  3. "dr_count": {{rules.list|length}},
  4. "mode": {{ mode }},
  5. "spider": "{{ host }}/liveslib",
  6. {% if alists|length > 0 %}"drives": {{alists_str}},{% endif %}
  7. "homepage":"https://gitcode.net/qq_32394351/dr_py",
  8. "sites": [{% for rule in rules.list %}{% if js_mode != 1 %}
  9. {
  10. "key":"dr_{{ rule.name }}",
  11. "name":"{{ rule.name }}(道长)",
  12. "type":1,
  13. "api":"{{ host }}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule={{ rule.name }}",
  14. "searchable": {{ rule.searchable }},
  15. "quickSearch": {{ rule.quickSearch }},
  16. "filterable": {{ rule.filterable }}
  17. }{% else %}
  18. {
  19. "key":"dr_{{ rule.name }}",
  20. "name":"{{ rule.name }}(drpy)",
  21. "type":3,
  22. "api":{% if ISTVB and xr_mode %}"{{ host }}/libs/drpy2.min.js"{% else %}"{{ host }}/libs/drpy.min.js"{% endif %},
  23. #"api":{% if ISTVB and xr_mode %}"{{ host }}/libs/drpy.min.js"{% else %}"{{ host }}/libs/drpy.min.js"{% endif %},
  24. #"api":"{{ host }}/libs/drpy.js",
  25. "searchable": {{ rule.searchable }},
  26. "quickSearch": {{ rule.quickSearch }},
  27. "filterable": {{ rule.filterable }},
  28. "ext":"{{ host }}/admin/view/{{ rule.name }}.js"
  29. }{% endif %}{% if loop.last==False %},{% endif %}{% endfor %}
  30. {% if js_mode == 1 %},{
  31. "key":"cms_douban",
  32. "name":"豆瓣(道长)",
  33. "type":1,
  34. "api":"{{ host }}/vod?{% if js0_password %}pwd={{js0_password}}&{% endif %}rule=drpy",
  35. "searchable": 2,
  36. "quickSearch": 1,
  37. "filterable": 1
  38. }{% endif %}
  39. {% if pys %}
  40. ,{% for py in pys %}{
  41. "key":"{{ py.name }}",
  42. "name":"{{ py.name }}(Pyramid)",
  43. "type": 3,
  44. "api":"{{ py.name }}",
  45. "searchable": {{ py.searchable }},
  46. "quickSearch": {{ py.quickSearch }},
  47. "filterable": {{ py.filterable }},
  48. "ext": "{{ host }}/txt/py/{{ py.name }}.py"
  49. }{% if loop.last==False %},{% endif %}{% endfor %}
  50. {% endif %}
  51. ],
  52. "parses": [{
  53. "name": "🌐Ⓤ",
  54. "type": 0,
  55. "url": "",
  56. "header": {
  57. "User-Agent": "Mozilla/5.0"
  58. }
  59. },
  60. {
  61. "name": "轮询",
  62. "type": 2,
  63. "url": "Sequence",
  64. "header": {
  65. "User-Agent": "Mozilla/5.0"
  66. }
  67. },
  68. {
  69. "name": "并发",
  70. "type": 2,
  71. "url": "Parallel",
  72. "header": {
  73. "User-Agent": "Mozilla/5.0"
  74. }
  75. },
  76. {% for jx in jxs %}
  77. {
  78. "name": "{{ jx.name }}",
  79. "url": "{{ jx.url }}",
  80. "type": {{ jx.type }},
  81. "ext": {
  82. "flag": ["qiyi","imgo","爱奇艺", "奇艺", "qq","qq 预告及花絮", "腾讯", "youku", "优酷", "pptv", "PPTV", "letv", "乐视","leshi", "bilibili", "哔哩哔哩", "哔哩", "mgtv", "芒果","sohu", "xigua","fun","风行"],
  83. "header": {
  84. "User-Agent": "{{ jx.ua }}"
  85. }
  86. }
  87. }{% if loop.last==False %},{% endif %}{% endfor %}
  88. ],
  89. "flags": ["imgo","youku", "qq","qq 预告及花絮", "iqiyi", "qiyi","fun", "letv","leshi","sohu", "tudou","xigua","cntv","1905", "pptv", "mgtv", "wasu", "bilibili", "renrenmi"],
  90. "hotSearch": [{
  91. "name": "mobilesearch",
  92. "request": {
  93. "method": "GET",
  94. "header": [
  95. {
  96. "key": "Referer",
  97. "value": "{{ host }}"
  98. }
  99. ],
  100. "url": {
  101. "raw": "{{ host }}/hotsugg?t={time}"
  102. }
  103. },
  104. "response": {
  105. "result": "$.data",
  106. "data": [
  107. {
  108. "key": "keyword",
  109. "value": "title"
  110. }
  111. ]
  112. }
  113. }],
  114. "lives":[{"group":"redirect","channels":[{"name":"直播","urls":["proxy://do=live&type=txt&ext={{live_url}}"]}]}],
  115. "sniffer": {
  116. "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36 Edg/105.0.1343.27",
  117. "isVideoFormat": "http((?!http).){26,}\\.(m3u8|mp4|flv|avi|mkv|wmv|mpg|mpeg|mov|ts|3gp|rm|rmvb|asf|m4a|mp3|wma)",
  118. "custom": [
  119. {"url":"/Cloud/Down/AliCloud/", "mimeType":"text/html", "encoding":"utf-8", "header":{"Referer": "https://zxzj.vip/"}},
  120. {"url":"ysting.ysxs8.vip", "mimeType":"text/html", "encoding":"utf-8", "header":{"Referer": "http://ysting.ysxs8.vip:81"}}
  121. ]
  122. },
  123. "recommend": [{"name": "豆瓣推荐","request": {"method": "GET","header": [{"key": "Referer","value": "https://movie.douban.com/"}],"url": {"raw": "https://movie.douban.com/j/new_search_subjects?sort=U&range=0,10&tags=&playable=1&start=0&year_range=2022,2022"}},"response": {"result": "$.data","data": [{"key": "name","value": "title"},{"key": "note","value": "rate"},{"key": "pic","value": "cover"}]},"expires" : "86400"}],
  124. "rating": [{"name": "rating","request": {"method": "GET","url": {"raw": "https://api.wmdb.tv/api/v1/movie/search?q={name}&limit=1"}},"response": {"result": "this","data": [{"key": "rating","value": "doubanRating"}]}}],
  125. "ijk": [{
  126. "group": "软解码",
  127. "options": [{
  128. "category": 4,
  129. "name": "opensles",
  130. "value": "0"
  131. },
  132. {
  133. "category": 4,
  134. "name": "overlay-format",
  135. "value": "842225234"
  136. },
  137. {
  138. "category": 4,
  139. "name": "framedrop",
  140. "value": "1"
  141. },
  142. {
  143. "category": 4,
  144. "name": "soundtouch",
  145. "value": "1"
  146. },
  147. {
  148. "category": 4,
  149. "name": "start-on-prepared",
  150. "value": "1"
  151. },
  152. {
  153. "category": 1,
  154. "name": "http-detect-range-support",
  155. "value": "0"
  156. },
  157. {
  158. "category": 1,
  159. "name": "fflags",
  160. "value": "fastseek"
  161. },
  162. {
  163. "category": 2,
  164. "name": "skip_loop_filter",
  165. "value": "48"
  166. },
  167. {
  168. "category": 4,
  169. "name": "reconnect",
  170. "value": "1"
  171. },
  172. {
  173. "category": 4,
  174. "name": "max-buffer-size",
  175. "value": "15728640"
  176. },
  177. {
  178. "category": 4,
  179. "name": "enable-accurate-seek",
  180. "value": "0"
  181. },
  182. {
  183. "category": 4,
  184. "name": "mediacodec",
  185. "value": "0"
  186. },
  187. {
  188. "category": 4,
  189. "name": "mediacodec-auto-rotate",
  190. "value": "0"
  191. },
  192. {
  193. "category": 4,
  194. "name": "mediacodec-handle-resolution-change",
  195. "value": "0"
  196. },
  197. {
  198. "category": 4,
  199. "name": "mediacodec-hevc",
  200. "value": "0"
  201. }
  202. ]
  203. },
  204. {
  205. "group": "硬解码",
  206. "options": [{
  207. "category": 4,
  208. "name": "opensles",
  209. "value": "0"
  210. },
  211. {
  212. "category": 4,
  213. "name": "overlay-format",
  214. "value": "842225234"
  215. },
  216. {
  217. "category": 4,
  218. "name": "framedrop",
  219. "value": "1"
  220. },
  221. {
  222. "category": 4,
  223. "name": "soundtouch",
  224. "value": "1"
  225. },
  226. {
  227. "category": 4,
  228. "name": "start-on-prepared",
  229. "value": "1"
  230. },
  231. {
  232. "category": 1,
  233. "name": "http-detect-range-support",
  234. "value": "0"
  235. },
  236. {
  237. "category": 1,
  238. "name": "fflags",
  239. "value": "fastseek"
  240. },
  241. {
  242. "category": 2,
  243. "name": "skip_loop_filter",
  244. "value": "48"
  245. },
  246. {
  247. "category": 4,
  248. "name": "reconnect",
  249. "value": "1"
  250. },
  251. {
  252. "category": 4,
  253. "name": "max-buffer-size",
  254. "value": "15728640"
  255. },
  256. {
  257. "category": 4,
  258. "name": "enable-accurate-seek",
  259. "value": "0"
  260. },
  261. {
  262. "category": 4,
  263. "name": "mediacodec",
  264. "value": "1"
  265. },
  266. {
  267. "category": 4,
  268. "name": "mediacodec-auto-rotate",
  269. "value": "1"
  270. },
  271. {
  272. "category": 4,
  273. "name": "mediacodec-handle-resolution-change",
  274. "value": "1"
  275. },
  276. {
  277. "category": 4,
  278. "name": "mediacodec-hevc",
  279. "value": "1"
  280. }
  281. ]
  282. }
  283. ],
  284. "rules":[
  285. {
  286. "host":"ss.rongliren.com",
  287. "rule":["m3u8\?id="],
  288. },{
  289. "host":"hei17.com",
  290. "rule":["img\.hei17\.com","storage/uploads/","\.m3u8$"],
  291. }],
  292. "ads": [
  293. "mimg.0c1q0l.cn",
  294. "www.googletagmanager.com",
  295. "www.google-analytics.com",
  296. "mc.usihnbcq.cn",
  297. "mg.g1mm3d.cn",
  298. "mscs.svaeuzh.cn",
  299. "cnzz.hhttm.top",
  300. "tp.vinuxhome.com",
  301. "cnzz.mmstat.com",
  302. "www.baihuillq.com",
  303. "s23.cnzz.com",
  304. "z3.cnzz.com",
  305. "c.cnzz.com",
  306. "stj.v1vo.top",
  307. "z12.cnzz.com",
  308. "img.mosflower.cn",
  309. "tips.gamevvip.com",
  310. "ehwe.yhdtns.com",
  311. "xdn.cqqc3.com",
  312. "www.jixunkyy.cn",
  313. "sp.chemacid.cn",
  314. "hm.baidu.com",
  315. "s9.cnzz.com",
  316. "z6.cnzz.com",
  317. "um.cavuc.com",
  318. "mav.mavuz.com",
  319. "wofwk.aoidf3.com",
  320. "z5.cnzz.com",
  321. "xc.hubeijieshikj.cn",
  322. "tj.tianwenhu.com",
  323. "xg.gars57.cn",
  324. "k.jinxiuzhilv.com",
  325. "cdn.bootcss.com",
  326. "ppl.xunzhuo123.com",
  327. "xomk.jiangjunmh.top",
  328. "img.xunzhuo123.com",
  329. "z1.cnzz.com",
  330. "s13.cnzz.com",
  331. "xg.huataisangao.cn",
  332. "z7.cnzz.com",
  333. "xg.huataisangao.cn",
  334. "z2.cnzz.com",
  335. "s96.cnzz.com",
  336. "q11.cnzz.com",
  337. "thy.dacedsfa.cn",
  338. "xg.whsbpw.cn",
  339. "s19.cnzz.com",
  340. "z8.cnzz.com",
  341. "s4.cnzz.com",
  342. "f5w.as12df.top",
  343. "ae01.alicdn.com",
  344. "www.92424.cn",
  345. "k.wudejia.com",
  346. "vivovip.mmszxc.top",
  347. "qiu.xixiqiu.com",
  348. "cdnjs.hnfenxun.com",
  349. "cms.qdwght.com"
  350. ]
  351. }