Add handlers for AniList rate limit (#92)
This commit is contained in:
@@ -131,3 +131,8 @@
|
||||
await page.close()
|
||||
return {resized, mime}
|
||||
}
|
||||
|
||||
/** Wait */
|
||||
export async function wait(seconds) {
|
||||
await new Promise(solve => setTimeout(solve), seconds*1000)
|
||||
}
|
||||
Reference in New Issue
Block a user