From b617325d793a55d25f4812b1c6a7b9e656b9c73f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 10 Jan 2015 15:55:06 +0100 Subject: [RehostTo] Fix https://github.com/pyload/pyload/issues/1009 --- module/plugins/hoster/RehostTo.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module/plugins/hoster/RehostTo.py') 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) -- cgit v1.2.3