From fa5cf2866dd7c5a16f2aeb0bc6903ca3968101b3 Mon Sep 17 00:00:00 2001 From: Shuralon Date: Sun, 11 Jan 2015 14:27:00 +0100 Subject: [RehostTo] Fix --- module/plugins/hoster/RehostTo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'module/plugins/hoster/RehostTo.py') diff --git a/module/plugins/hoster/RehostTo.py b/module/plugins/hoster/RehostTo.py index e706fa6c6..1f7913a72 100644 --- a/module/plugins/hoster/RehostTo.py +++ b/module/plugins/hoster/RehostTo.py @@ -20,9 +20,12 @@ class RehostTo(MultiHoster): def handlePremium(self, pyfile): self.download("http://rehost.to/process_download.php", get={'user': "cookie", - 'pass': self.account.getAccountData(self.user)['session'], + 'pass': self.account.getAccountInfo(self.user)['session'], 'dl' : pyfile.url}, disposition=True) getInfo = create_getInfo(RehostTo) + + +getInfo = create_getInfo(RehostTo) -- cgit v1.2.3 From f842d8baf6a7b7805459af4c4722dd1dd897690e Mon Sep 17 00:00:00 2001 From: Shuralon Date: Sun, 11 Jan 2015 14:27:16 +0100 Subject: [RehostTo] Fix --- module/plugins/hoster/RehostTo.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'module/plugins/hoster/RehostTo.py') diff --git a/module/plugins/hoster/RehostTo.py b/module/plugins/hoster/RehostTo.py index 1f7913a72..780b7e0f2 100644 --- a/module/plugins/hoster/RehostTo.py +++ b/module/plugins/hoster/RehostTo.py @@ -26,6 +26,3 @@ class RehostTo(MultiHoster): getInfo = create_getInfo(RehostTo) - - -getInfo = create_getInfo(RehostTo) -- cgit v1.2.3 From 5b31d8f20133cc575a101026c823f4d4e69621af Mon Sep 17 00:00:00 2001 From: Shuralon Date: Sun, 11 Jan 2015 14:31:01 +0100 Subject: [RehostTo] Fix version --- module/plugins/hoster/RehostTo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/RehostTo.py') diff --git a/module/plugins/hoster/RehostTo.py b/module/plugins/hoster/RehostTo.py index 780b7e0f2..28de35d08 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.20" + __version__ = "0.21" __pattern__ = r'https?://.*rehost\.to\..+' -- cgit v1.2.3