config.txt 7.3 KB
Newer Older
H
hjdhnx 已提交
1
{
2
{% if config.WALL_PAPER_ENABLE %}"wallpaper":"{{ host }}/pics",{% endif %}
H
hjdhnx 已提交
3 4
"dr_count": {{rules.list|length}},
"mode": {{ mode }},
H
hjdhnx 已提交
5
"spider": "{{ host }}/liveslib",
H
hjdhnx 已提交
6
{% if alists|length > 0 %}"drives": {{alists_str}},{% endif %}
H
hjdhnx 已提交
7
"homepage":"https://gitcode.net/qq_32394351/dr_py",
H
hjdhnx 已提交
8
"sites": [{% for rule in rules.list %}{% if js_mode == 0 %}
H
hjdhnx 已提交
9
{
10 11
    "key":"dr_{{ rule.name }}",
    "name":"{{ rule.name }}(道长)",
H
hjdhnx 已提交
12
    "type":1,
13 14 15
    "api":"{{ host }}/vod?rule={{ rule.name }}",
    "searchable": {{ rule.searchable }},
    "quickSearch": {{ rule.quickSearch }},
16
    "filterable": {{ rule.filterable }}
H
hjdhnx 已提交
17 18
}{% else %}
{
19
    "key":"dr_{{ rule.name }}",
H
hjdhnx 已提交
20 21 22
    "name":"{{ rule.name }}(drpy)",
    "type":3,
    "api":"{{ host }}/libs/drpy.js",
23 24
    "searchable": {{ rule.searchable }},
    "quickSearch": {{ rule.quickSearch }},
H
hjdhnx 已提交
25 26
    "filterable": {{ rule.filterable }},
    "ext":"{{ host }}/admin/view/{{ rule.name }}.js"
H
hjdhnx 已提交
27
}{% endif %}{% if loop.last==False %},{% endif %}{% endfor %}
H
hjdhnx 已提交
28
{% if pys %}
H
hjdhnx 已提交
29 30 31 32 33 34 35 36 37 38
,{% for py in pys %}{
    "key":"{{ py.name }}",
    "name":"{{ py.name }}(Pyramid)",
    "type": 3,
    "api":"{{ py.name }}",
    "searchable": {{ py.searchable }},
    "quickSearch": {{ py.quickSearch }},
    "filterable": {{ py.filterable }},
    "ext": "{{ host }}/txt/py/{{ py.name }}.py"
}{% if loop.last==False %},{% endif %}{% endfor %}
H
hjdhnx 已提交
39
{% endif %}
H
hjdhnx 已提交
40
],
H
hjdhnx 已提交
41
	"parses": [{
H
md  
hjdhnx 已提交
42
		"name": "🌐Ⓤ",
H
hjdhnx 已提交
43 44 45 46 47 48
		"type": 0,
		"url": "",
		"header": {
            "User-Agent": "Mozilla/5.0"
        }
	},{
H
md  
hjdhnx 已提交
49
		"name": "🌀Ⓙ",
H
hjdhnx 已提交
50 51 52 53 54
		"type": 1,
		"url": "",
		"header": {
            "User-Agent": "Mozilla/5.0"
        }
H
hjdhnx 已提交
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
	},
	{
		"name": "轮询",
		"type": 2,
		"url": "Sequence",
		"header": {
            "User-Agent": "Mozilla/5.0"
        }
	},
	{
		"name": "并发",
		"type": 2,
		"url": "Parallel",
		"header": {
            "User-Agent": "Mozilla/5.0"
        }
H
hjdhnx 已提交
71 72 73 74 75
	},
	 {% for jx in jxs %}
{
    "name": "{{ jx.name }}",
    "url": "{{ jx.url }}",
H
hjdhnx 已提交
76
    "type": {{ jx.type }},
H
hjdhnx 已提交
77
    "ext": {
H
hjdhnx 已提交
78
    "flag": ["qiyi","imgo","爱奇艺", "奇艺", "qq", "腾讯", "youku", "优酷", "pptv", "PPTV", "letv", "乐视","leshi", "bilibili", "哔哩哔哩", "哔哩", "mgtv", "芒果","sohu", "xigua","fun","风行"],
H
hjdhnx 已提交
79
    "header": {
H
hjdhnx 已提交
80
        "User-Agent": "{{ jx.ua }}"
H
hjdhnx 已提交
81 82 83 84
    }
    }
}{% if loop.last==False %},{% endif %}{% endfor %}
	 ],
H
hjdhnx 已提交
85
"flags": ["imgo","youku", "qq", "iqiyi", "qiyi","fun", "letv","leshi","sohu", "tudou","xigua","cntv","1905", "pptv", "mgtv", "wasu", "bilibili", "renrenmi"],
H
hjdhnx 已提交
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
"hotSearch": [{
    "name": "mobilesearch",
    "request": {
      "method": "GET",
      "header": [
        {
          "key": "Referer",
          "value": "{{ host }}"
        }
      ],
      "url": {
        "raw": "{{ host }}/hotsugg?t={time}"
      }
    },
    "response": {
        "result": "$.data",
        "data": [
          {
            "key": "keyword",
            "value": "title"
          }
        ]
    }
}],
H
hjdhnx 已提交
110
"lives":[{"group":"redirect","channels":[{"name":"直播","urls":["proxy://do=live&type=txt&ext={{live_url}}"]}]}],
H
hjdhnx 已提交
111 112 113 114 115 116 117 118 119
"sniffer": {
    "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",
    "isVideoFormat": "http((?!http).){26,}\\.(m3u8|mp4|flv|avi|mkv|wmv|mpg|mpeg|mov|ts|3gp|rm|rmvb|asf|m4a|mp3|wma)",
    "custom": [
        {"url":"/Cloud/Down/AliCloud/", "mimeType":"text/html", "encoding":"utf-8", "header":{"Referer": "https://zxzj.vip/"}}
    ]
},
"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"}],
"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"}]}}],
H
hjdhnx 已提交
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
"ijk": [{
"group": "软解码",
"options": [{
    "category": 4,
    "name": "opensles",
    "value": "0"
}, {
    "category": 4,
    "name": "overlay-format",
    "value": "842225234"
}, {
    "category": 4,
    "name": "framedrop",
    "value": "1"
}, {
    "category": 4,
    "name": "soundtouch",
    "value": "1"
}, {
    "category": 4,
    "name": "start-on-prepared",
    "value": "1"
}, {
    "category": 1,
    "name": "http-detect-range-support",
    "value": "0"
}, {
    "category": 1,
    "name": "fflags",
    "value": "fastseek"
}, {
    "category": 2,
    "name": "skip_loop_filter",
    "value": "48"
}, {
    "category": 4,
    "name": "reconnect",
    "value": "1"
}, {
    "category": 4,
    "name": "enable-accurate-seek",
    "value": "0"
}, {
    "category": 4,
    "name": "mediacodec",
    "value": "0"
}, {
    "category": 4,
    "name": "mediacodec-auto-rotate",
    "value": "0"
}, {
    "category": 4,
    "name": "mediacodec-handle-resolution-change",
    "value": "0"
}, {
    "category": 4,
    "name": "mediacodec-hevc",
    "value": "0"
}, {
    "category": 1,
    "name": "dns_cache_timeout",
    "value": "600000000"
}]
}, {
"group": "硬解码",
"options": [{
    "category": 4,
    "name": "opensles",
    "value": "0"
}, {
    "category": 4,
    "name": "overlay-format",
    "value": "842225234"
}, {
    "category": 4,
    "name": "framedrop",
    "value": "1"
}, {
    "category": 4,
    "name": "soundtouch",
    "value": "1"
}, {
    "category": 4,
    "name": "start-on-prepared",
    "value": "1"
}, {
    "category": 1,
    "name": "http-detect-range-support",
    "value": "0"
}, {
    "category": 1,
    "name": "fflags",
    "value": "fastseek"
}, {
    "category": 2,
    "name": "skip_loop_filter",
    "value": "48"
}, {
    "category": 4,
    "name": "reconnect",
    "value": "1"
}, {
    "category": 4,
    "name": "enable-accurate-seek",
    "value": "0"
}, {
    "category": 4,
    "name": "mediacodec",
    "value": "1"
}, {
    "category": 4,
    "name": "mediacodec-auto-rotate",
    "value": "1"
}, {
    "category": 4,
    "name": "mediacodec-handle-resolution-change",
    "value": "1"
}, {
    "category": 4,
    "name": "mediacodec-hevc",
    "value": "1"
}, {
    "category": 1,
    "name": "dns_cache_timeout",
    "value": "600000000"
}]
}],
"ads": ["mimg.0c1q0l.cn", "www.googletagmanager.com", "www.google-analytics.com", "mc.usihnbcq.cn", "mg.g1mm3d.cn", "mscs.svaeuzh.cn", "cnzz.hhttm.top", "tp.vinuxhome.com", "cnzz.mmstat.com", "www.baihuillq.com", "s23.cnzz.com", "z3.cnzz.com", "c.cnzz.com", "stj.v1vo.top", "z12.cnzz.com", "img.mosflower.cn", "tips.gamevvip.com", "ehwe.yhdtns.com", "xdn.cqqc3.com", "www.jixunkyy.cn", "sp.chemacid.cn", "hm.baidu.com", "s9.cnzz.com", "z6.cnzz.com", "um.cavuc.com", "mav.mavuz.com", "wofwk.aoidf3.com", "z5.cnzz.com", "xc.hubeijieshikj.cn", "tj.tianwenhu.com", "xg.gars57.cn", "k.jinxiuzhilv.com", "cdn.bootcss.com", "ppl.xunzhuo123.com", "xomk.jiangjunmh.top", "img.xunzhuo123.com", "z1.cnzz.com", "s13.cnzz.com", "xg.huataisangao.cn", "z7.cnzz.com", "xg.huataisangao.cn", "z2.cnzz.com", "s96.cnzz.com", "q11.cnzz.com", "thy.dacedsfa.cn", "xg.whsbpw.cn", "s19.cnzz.com", "z8.cnzz.com", "s4.cnzz.com", "f5w.as12df.top", "ae01.alicdn.com", "www.92424.cn", "k.wudejia.com", "vivovip.mmszxc.top", "qiu.xixiqiu.com", "cdnjs.hnfenxun.com", "cms.qdwght.com"]
}