Compare commits
2 Commits
4bdc95a055
...
8a64289924
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a64289924 | ||
|
|
67fc3a8e1c |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "real-debrid-downloader",
|
"name": "real-debrid-downloader",
|
||||||
"version": "1.7.12",
|
"version": "1.7.13",
|
||||||
"description": "Desktop downloader",
|
"description": "Desktop downloader",
|
||||||
"main": "build/main/main/main.js",
|
"main": "build/main/main/main.js",
|
||||||
"author": "Sucukdeluxe",
|
"author": "Sucukdeluxe",
|
||||||
|
|||||||
@ -302,7 +302,6 @@ function isFetchFailure(errorText: string): boolean {
|
|||||||
function isPermanentLinkError(errorText: string): boolean {
|
function isPermanentLinkError(errorText: string): boolean {
|
||||||
const text = String(errorText || "").toLowerCase();
|
const text = String(errorText || "").toLowerCase();
|
||||||
return text.includes("permanent ungültig")
|
return text.includes("permanent ungültig")
|
||||||
|| text.includes("hosternotavailable")
|
|
||||||
|| /file.?not.?found/.test(text)
|
|| /file.?not.?found/.test(text)
|
||||||
|| /file.?unavailable/.test(text)
|
|| /file.?unavailable/.test(text)
|
||||||
|| /link.?is.?dead/.test(text)
|
|| /link.?is.?dead/.test(text)
|
||||||
@ -351,7 +350,8 @@ function isTemporaryUnrestrictError(errorText: string): boolean {
|
|||||||
|| text.includes("bad gateway")
|
|| text.includes("bad gateway")
|
||||||
|| text.includes("gateway timeout")
|
|| text.includes("gateway timeout")
|
||||||
|| text.includes("cloudflare")
|
|| text.includes("cloudflare")
|
||||||
|| text.includes("worker error");
|
|| text.includes("worker error")
|
||||||
|
|| text.includes("hosternotavailable");
|
||||||
}
|
}
|
||||||
|
|
||||||
function isFinishedStatus(status: DownloadStatus): boolean {
|
function isFinishedStatus(status: DownloadStatus): boolean {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user