summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SimplydebridCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/SimplydebridCom.py')
-rw-r--r--module/plugins/hoster/SimplydebridCom.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/plugins/hoster/SimplydebridCom.py b/module/plugins/hoster/SimplydebridCom.py
index f13b16ae0..d13c161e8 100644
--- a/module/plugins/hoster/SimplydebridCom.py
+++ b/module/plugins/hoster/SimplydebridCom.py
@@ -52,3 +52,8 @@ class SimplydebridCom(Hoster):
self.logDebug("Unrestricted URL: " + new_url)
self.download(new_url, disposition=True)
+
+ check = self.checkDownload({"bad1": "No address associated with hostname", "bad2": "<html"})
+
+ if check == "bad1" or check == "bad2":
+ self.retry(3, 3600, 'Bad file downloaded') \ No newline at end of file