summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RealdebridCom.py
diff options
context:
space:
mode:
authorGravatar Pedro Algarvio <pedro@algarvio.me> 2012-02-05 12:03:15 +0100
committerGravatar Pedro Algarvio <pedro@algarvio.me> 2012-02-05 12:03:15 +0100
commitfbbe0185c6b204addb9c841cd20370bd38d50013 (patch)
tree8b0c89045ec031950a5a1280f3c09770d8a59a67 /module/plugins/hoster/RealdebridCom.py
parentFix missing error message. (diff)
downloadpyload-fbbe0185c6b204addb9c841cd20370bd38d50013.tar.xz
Treat most errors as tempfailures, this will solve the missing errors.
Diffstat (limited to 'module/plugins/hoster/RealdebridCom.py')
-rw-r--r--module/plugins/hoster/RealdebridCom.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py
index 3eddc858b..f099cbb68 100644
--- a/module/plugins/hoster/RealdebridCom.py
+++ b/module/plugins/hoster/RealdebridCom.py
@@ -12,7 +12,7 @@ from module.plugins.Hoster import Hoster
class RealdebridCom(Hoster):
__name__ = "RealdebridCom"
- __version__ = "0.45"
+ __version__ = "0.46"
__type__ = "hoster"
__pattern__ = r"https?://.*real-debrid\..*"
@@ -57,14 +57,9 @@ class RealdebridCom(Hoster):
if data["error"] != 0:
if data["message"] == "Your file is unavailable on the hoster.":
self.offline()
- elif data["message"] == "File's hoster is in maintenance. Try again later.":
- self.logWarning(data["message"])
- self.tempOffline()
- elif data["message"] == "No server is available for this hoster.":
+ else:
self.logWarning(data["message"])
self.tempOffline()
- else:
- self.logError(page)
else:
self.pyfile.name = data["file_name"]
self.pyfile.size = parseFileSize(data["file_size"])