diff options
Diffstat (limited to 'module/plugins/hooks/PremiumToHook.py')
-rw-r--r-- | module/plugins/hooks/PremiumToHook.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hooks/PremiumToHook.py b/module/plugins/hooks/PremiumToHook.py index 062113e96..bcd7a7aab 100644 --- a/module/plugins/hooks/PremiumToHook.py +++ b/module/plugins/hooks/PremiumToHook.py @@ -6,7 +6,7 @@ from module.plugins.internal.MultiHook import MultiHook class PremiumToHook(MultiHook): __name__ = "PremiumToHook" __type__ = "hook" - __version__ = "0.10" + __version__ = "0.11" __status__ = "testing" __config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"), @@ -22,7 +22,8 @@ class PremiumToHook(MultiHook): def get_hosters(self): - user, data = self.account.select() + user, info = self.account.select() html = self.load("http://premium.to/api/hosters.php", - get={'username': user, 'password': data['password']}) + get={'username': user, + 'password': info['login']['password']}) return [x.strip() for x in html.replace("\"", "").split(";")] |