summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/RealdebridCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-20 22:03:34 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-20 22:03:34 +0200
commit4aa8241528f997509282bd9c8edbc83d7096d66a (patch)
tree45148d014c8129c8cd1f2935adf49f9725280948 /pyload/plugins/hoster/RealdebridCom.py
parentadded missing init file (diff)
parentUsing the same translatable string (diff)
downloadpyload-4aa8241528f997509282bd9c8edbc83d7096d66a.tar.xz
Merge plugins from stable
Conflicts: module/plugins/hoster/UnrestrictLi.py pyload/plugins/hooks/Captcha9kw.py pyload/plugins/hoster/AlldebridCom.py pyload/plugins/hoster/BitshareCom.py pyload/plugins/hoster/EgoFilesCom.py pyload/plugins/hoster/FreakshareCom.py pyload/plugins/hoster/LuckyShareNet.py pyload/plugins/hoster/Premium4Me.py pyload/plugins/hoster/PremiumizeMe.py pyload/plugins/hoster/RapidshareCom.py pyload/plugins/hoster/RealdebridCom.py pyload/plugins/hoster/ShareplaceCom.py pyload/plugins/hoster/UploadedTo.py pyload/plugins/hoster/UploadingCom.py pyload/plugins/hoster/Xdcc.py pyload/plugins/hoster/YourfilesTo.py pyload/plugins/hoster/ZeveraCom.py
Diffstat (limited to 'pyload/plugins/hoster/RealdebridCom.py')
-rw-r--r--pyload/plugins/hoster/RealdebridCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/plugins/hoster/RealdebridCom.py b/pyload/plugins/hoster/RealdebridCom.py
index 3c796232e..73baff5b3 100644
--- a/pyload/plugins/hoster/RealdebridCom.py
+++ b/pyload/plugins/hoster/RealdebridCom.py
@@ -12,7 +12,7 @@ from module.plugins.Hoster import Hoster
class RealdebridCom(Hoster):
__name__ = "RealdebridCom"
- __version__ = "0.49"
+ __version__ = "0.51"
__type__ = "hoster"
__pattern__ = r"https?://.*real-debrid\..*"
@@ -37,10 +37,10 @@ class RealdebridCom(Hoster):
def process(self, pyfile):
if not self.account:
- self.logError(_("Please enter your Real-debrid account or deactivate this plugin"))
+ self.logError(_("Please enter your %s account or deactivate this plugin") % "Real-debrid")
self.fail("No Real-debrid account provided")
- self.log.debug("Real-Debrid: Old URL: %s" % pyfile.url)
+ self.logDebug("Real-Debrid: Old URL: %s" % pyfile.url)
if re.match(self.__pattern__, pyfile.url):
new_url = pyfile.url
else:
@@ -71,7 +71,7 @@ class RealdebridCom(Hoster):
else:
new_url = new_url.replace("https://", "http://")
- self.log.debug("Real-Debrid: New URL: %s" % new_url)
+ self.logDebug("Real-Debrid: New URL: %s" % new_url)
if pyfile.name.startswith("http") or pyfile.name.startswith("Unknown") or pyfile.name.endswith('..'):
#only use when name wasnt already set