Archived
1
0
Fork 0

Update wikilib.py

This commit is contained in:
多羅狼 2023-11-11 10:48:17 +08:00 committed by GitHub
parent 01b8cfe80d
commit 82d2a458e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ web_render_local = CFG.get_url('web_render_local')
redirect_list = {'https://zh.moegirl.org.cn/api.php': 'https://mzh.moegirl.org.cn/api.php', # 萌娘百科强制使用移动版 API
'https://minecraft.fandom.com/api.php': 'https://minecraft.wiki/api.php', # no more Fandom then
# 'https://minecraft.fandom.com/zh/api.php': 'https://zh.minecraft.wiki/api.php'
'https://minecraft.fandom.com/zh/api.php': 'https://zh.minecraft.wiki/api.php'
}
request_by_web_render_list = [re.compile(r'.*minecraft\.wiki'), # sigh