summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/PremiumizeMeHook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/PremiumizeMeHook.py')
-rw-r--r--module/plugins/hooks/PremiumizeMeHook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/PremiumizeMeHook.py b/module/plugins/hooks/PremiumizeMeHook.py
index 35ad70970..bc803b1f5 100644
--- a/module/plugins/hooks/PremiumizeMeHook.py
+++ b/module/plugins/hooks/PremiumizeMeHook.py
@@ -26,7 +26,7 @@ class PremiumizeMeHook(MultiHook):
# Get supported hosters list from premiumize.me using the
# json API v1 (see https://secure.premiumize.me/?show=api)
- answer = self.getURL("http://api.premiumize.me/pm-api/v1.php", #@TODO: Revert to `https` in 0.4.10
+ answer = self.load("http://api.premiumize.me/pm-api/v1.php", #@TODO: Revert to `https` in 0.4.10
get={'method': "hosterlist", 'params[login]': user, 'params[pass]': data['password']})
data = json_loads(answer)