Update __init__.py
This commit is contained in:
parent
2eb55ac992
commit
49d5a75ec1
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ async def get_weekly(with_img=False, zh_tw=False):
|
|||
async def get_weekly_img(with_img=False, zh_tw=False):
|
||||
locale = Locale('zh_cn' if not zh_tw else 'zh_tw')
|
||||
img = await generate_screenshot_v2('https://zh.minecraft.wiki/wiki/Minecraft_Wiki/' +
|
||||
('?variant=zh-tw' if zh_tw else ''), content_mode=True, allow_special_page=True,
|
||||
('?variant=zh-tw' if zh_tw else ''), content_mode=False, allow_special_page=True,
|
||||
element=['div#fp-section-weekly'])
|
||||
msg_ = []
|
||||
if img:
|
||||
|
|
Reference in a new issue