mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-03-11 17:15:37 +00:00
handle more PM limits errors
This commit is contained in:
parent
1a9b2ba4f7
commit
96fa4ff19d
1 changed files with 5 additions and 2 deletions
|
|
@ -196,8 +196,11 @@ function isAccessDeniedError(error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isLimitExceededError(error) {
|
function isLimitExceededError(error) {
|
||||||
return ['Fair use limit reached!', 'You already have a maximum of 25 active downloads in progress!']
|
return [
|
||||||
.some(value => error?.message?.includes(value));
|
'Fair use limit reached!',
|
||||||
|
'You already have a maximum of 25 active downloads in progress!',
|
||||||
|
'Your space is full! Please delete old files first!'
|
||||||
|
].some(value => error?.message?.includes(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getDefaultOptions(ip) {
|
async function getDefaultOptions(ip) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue