summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/PremiumToHook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/PremiumToHook.py')
-rw-r--r--module/plugins/hooks/PremiumToHook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/PremiumToHook.py b/module/plugins/hooks/PremiumToHook.py
index 11f0f3c8a..63e3c72c8 100644
--- a/module/plugins/hooks/PremiumToHook.py
+++ b/module/plugins/hooks/PremiumToHook.py
@@ -23,6 +23,6 @@ class PremiumToHook(MultiHook):
def getHosters(self):
user, data = self.account.selectAccount()
- html = self.getURL("http://premium.to/api/hosters.php",
+ html = self.load("http://premium.to/api/hosters.php",
get={'username': user, 'password': data['password']})
return [x.strip() for x in html.replace("\"", "").split(";")]