Archived
1
0
Fork 0

Update __init__.py

This commit is contained in:
yzhh 2023-11-24 15:01:50 +08:00
parent 2eb55ac992
commit 49d5a75ec1

View file

@ -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: