summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/RehostTo.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/RehostTo.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/RehostTo.py')
-rw-r--r--pyload/plugins/hoster/RehostTo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugins/hoster/RehostTo.py b/pyload/plugins/hoster/RehostTo.py
index 141dcb8c8..7d1b1c3ea 100644
--- a/pyload/plugins/hoster/RehostTo.py
+++ b/pyload/plugins/hoster/RehostTo.py
@@ -6,7 +6,7 @@ from module.plugins.Hoster import Hoster
class RehostTo(Hoster):
__name__ = "RehostTo"
- __version__ = "0.11"
+ __version__ = "0.13"
__type__ = "hoster"
__pattern__ = r"https?://.*rehost.to\..*"
__description__ = """rehost.com hoster plugin"""
@@ -22,13 +22,13 @@ class RehostTo(Hoster):
def process(self, pyfile):
if not self.account:
- self.log.error(_("Please enter your rehost.to account or deactivate this plugin"))
+ self.logError(_("Please enter your %s account or deactivate this plugin") % "rehost.to")
self.fail("No rehost.to account provided")
data = self.account.getAccountInfo(self.user)
long_ses = data["long_ses"]
- self.log.debug("Rehost.to: Old URL: %s" % pyfile.url)
+ self.logDebug("Rehost.to: Old URL: %s" % pyfile.url)
new_url = "http://rehost.to/process_download.php?user=cookie&pass=%s&dl=%s" % (long_ses, quote(pyfile.url, ""))
#raise timeout to 2min