config.txt 5.9 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 9
"sites": [{% for rule in rules.list %}{% if mode == 0 %}
{
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 20
    "key":"dr_{{ rule.name }}",
    "name":"{{ rule.name }}(道长)",
H
hjdhnx 已提交
21
    "type":1,
22 23 24
    "api":"{{ host }}/vod?rule={{ rule.name }}",
    "searchable": {{ rule.searchable }},
    "quickSearch": {{ rule.quickSearch }},
H
hjdhnx 已提交
25
    "filterable": {{ rule.filterable }}
H
hjdhnx 已提交
26
}{% endif %}{% if loop.last==False %},{% endif %}{% endfor %}
H
hjdhnx 已提交
27
{% if pys %}
H
hjdhnx 已提交
28 29 30 31 32 33 34 35 36 37
,{% 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 已提交
38
{% endif %}
H
hjdhnx 已提交
39
],
H
hjdhnx 已提交
40
	"parses": [{
H
md  
hjdhnx 已提交
41
		"name": "🌐Ⓤ",
H
hjdhnx 已提交
42 43 44 45 46 47
		"type": 0,
		"url": "",
		"header": {
            "User-Agent": "Mozilla/5.0"
        }
	},{
H
md  
hjdhnx 已提交
48
		"name": "🌀Ⓙ",
H
hjdhnx 已提交
49 50 51 52 53
		"type": 1,
		"url": "",
		"header": {
            "User-Agent": "Mozilla/5.0"
        }
H
hjdhnx 已提交
54 55 56 57 58
	},
	 {% for jx in jxs %}
{
    "name": "{{ jx.name }}",
    "url": "{{ jx.url }}",
H
hjdhnx 已提交
59
    "type": {{ jx.type }},
H
hjdhnx 已提交
60
    "ext": {
H
hjdhnx 已提交
61
    "flag": ["qiyi","imgo","爱奇艺", "奇艺", "qq", "腾讯", "youku", "优酷", "pptv", "PPTV", "letv", "乐视", "bilibili", "哔哩哔哩", "哔哩", "mgtv", "芒果","sohu", "xigua"],
H
hjdhnx 已提交
62
    "header": {
H
hjdhnx 已提交
63
        "User-Agent": "{{ jx.ua }}"
H
hjdhnx 已提交
64 65 66 67
    }
    }
}{% if loop.last==False %},{% endif %}{% endfor %}
	 ],
H
hjdhnx 已提交
68
"flags": ["imgo","youku", "qq", "iqiyi", "qiyi", "letv", "sohu", "tudou","xigua","cntv","1905", "pptv", "mgtv", "wasu", "bilibili", "renrenmi"],
H
hjdhnx 已提交
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
"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 已提交
93
"lives":[{"group":"redirect","channels":[{"name":"直播","urls":["proxy://do=live&type=txt&ext={{live_url}}"]}]}],
H
hjdhnx 已提交
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 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
"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"]
}