summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RehostTo.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-10 15:55:06 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-10 15:55:06 +0100
commitb617325d793a55d25f4812b1c6a7b9e656b9c73f (patch)
treeced8bd24e16dca66703b9370a847860de3aecbe2 /module/plugins/hoster/RehostTo.py
parent[MegaCoNz] Fix https://github.com/pyload/pyload/issues/1017 (thx valadrem) (diff)
downloadpyload-b617325d793a55d25f4812b1c6a7b9e656b9c73f.tar.xz
[RehostTo] Fix https://github.com/pyload/pyload/issues/1009
Diffstat (limited to 'module/plugins/hoster/RehostTo.py')
-rw-r--r--module/plugins/hoster/RehostTo.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/RehostTo.py b/module/plugins/hoster/RehostTo.py
index f87c7f3ff..e706fa6c6 100644
--- a/module/plugins/hoster/RehostTo.py
+++ b/module/plugins/hoster/RehostTo.py
@@ -8,7 +8,7 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
class RehostTo(MultiHoster):
__name__ = "RehostTo"
__type__ = "hoster"
- __version__ = "0.19"
+ __version__ = "0.20"
__pattern__ = r'https?://.*rehost\.to\..+'
@@ -18,11 +18,9 @@ class RehostTo(MultiHoster):
def handlePremium(self, pyfile):
- data = self.account.getAccountData(self.user)
-
self.download("http://rehost.to/process_download.php",
get={'user': "cookie",
- 'pass': data['long_ses'],
+ 'pass': self.account.getAccountData(self.user)['session'],
'dl' : pyfile.url},
disposition=True)