diff options
| author | 2013-08-07 22:02:26 +0200 | |
|---|---|---|
| committer | 2013-08-07 22:02:26 +0200 | |
| commit | d61d1d0b0901acc90770cc48613425013efc0a3d (patch) | |
| tree | 404124078a34e6ba90fd593dd95734956ce77011 /module | |
| parent | More link transformation (diff) | |
| download | pyload-d61d1d0b0901acc90770cc48613425013efc0a3d.tar.xz | |
simplydebrid "handle" bad links
simplydebrid "handle" bad links
Diffstat (limited to 'module')
| -rw-r--r-- | module/plugins/hoster/SimplydebridCom.py | 5 | 
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 | 
