diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/RealdebridCom.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py index c23e19b4d..62c09aaa8 100644 --- a/module/plugins/hoster/RealdebridCom.py +++ b/module/plugins/hoster/RealdebridCom.py @@ -34,7 +34,7 @@ class RealdebridCom(Hoster): def process(self, pyfile):
if not self.account:
- self.log.error(_("Please enter your Real-debrid account or deactivate this plugin"))
+ self.logError(_("Please enter your Real-debrid account or deactivate this plugin"))
self.fail("No Real-debrid account provided")
self.log.debug("Real-Debrid: Old URL: %s" % pyfile.url)
@@ -52,11 +52,13 @@ class RealdebridCom(Hoster): if error:
msg = error.group(1).strip()
- self.log.debug(page)
+ self.logDebug(page)
if msg == "Your file is unavailable on the hoster.":
self.offline()
else:
self.fail(msg)
+ elif url == 'error':
+ self.fail("Your IP is most likely blocked. Please contact RealDebrid support")
else:
new_url = page
|