mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 08:39:59 +08:00
Update data_source.py
This commit is contained in:
@@ -22,7 +22,7 @@ async def get_pixiv_urls(mode: str, num: int = 5, date: str = '') -> 'list, list
|
||||
try:
|
||||
return await parser_data(url, num)
|
||||
except ClientConnectorError:
|
||||
return get_pixiv_urls(mode, num, date)
|
||||
return await get_pixiv_urls(mode, num, date)
|
||||
|
||||
|
||||
async def download_pixiv_imgs(urls: list, user_id: int) -> str:
|
||||
|
||||
Reference in New Issue
Block a user