mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-04-21 06:51:55 +00:00
add offcloud download error message
This commit is contained in:
parent
96879c13cd
commit
ac7a5ff3aa
1 changed files with 2 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ function statusDownloading(torrent) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function statusError(torrent) {
|
function statusError(torrent) {
|
||||||
return torrent.status === 'error'
|
return ['error', 'canceled'].includes(torrent.status);
|
||||||
}
|
}
|
||||||
|
|
||||||
function statusReady(torrent) {
|
function statusReady(torrent) {
|
||||||
|
|
@ -172,5 +172,5 @@ function statusReady(torrent) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function errorExpiredSubscriptionError(error) {
|
function errorExpiredSubscriptionError(error) {
|
||||||
return error?.includes && (error.includes('not_available') || error.includes('NOAUTH'));
|
return error?.includes && (error.includes('not_available') || error.includes('NOAUTH') || error.includes('premium membership'));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue