Update wiki.py
This commit is contained in:
parent
ec3367b9af
commit
be4505d298
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ async def query_pages(session: Union[Bot.MessageSession, QueryInfo], title: Unio
|
|||
try:
|
||||
tasks = []
|
||||
for rd in ready_for_query_pages:
|
||||
if rd in ['随机页面', '隨機頁面', 'Randompage']:
|
||||
if rd.split(":")[0] in ['Special', '特殊'] and rd.split(":")[1] in ['随机页面', '隨機頁面', 'Random']:
|
||||
tasks.append(asyncio.create_task(
|
||||
WikiLib(q, headers, locale=session.locale.locale).random_page()))
|
||||
else:
|
||||
|
|
Reference in a new issue