diff options
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/RealdebridCom.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/RehostTo.py | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py index 49cfc01f7..5a31cc388 100644 --- a/module/plugins/hoster/RealdebridCom.py +++ b/module/plugins/hoster/RealdebridCom.py @@ -3,7 +3,7 @@ import re from random import randrange -from urllib import quote, unquote +from urllib import unquote from time import time from module.common.json_layer import json_loads diff --git a/module/plugins/hoster/RehostTo.py b/module/plugins/hoster/RehostTo.py index 8cfe833fd..5dd17e374 100644 --- a/module/plugins/hoster/RehostTo.py +++ b/module/plugins/hoster/RehostTo.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from urllib import quote, unquote +from urllib import unquote from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo @@ -22,12 +22,11 @@ class RehostTo(MultiHoster): def handlePremium(self): - data = self.account.getAccountInfo(self.user) - long_ses = data['long_ses'] + data = self.account.getAccountInfo(self.user) self.download("http://rehost.to/process_download.php", get={'user': "cookie", - 'pass': long_ses, + 'pass': data['long_ses'], 'dl' : self.pyfile.url}, disposition=True) |