summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/PremiumizeMeHook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-05 15:27:39 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-05 15:27:39 +0200
commit5685fdfcdc98de4e22711694a461e3fdd1c33885 (patch)
treec667e84f243f51a8ef8c29cc4072e9c5899abff3 /module/plugins/hooks/PremiumizeMeHook.py
parent[NitroflareCom] Account fixup (2) (diff)
downloadpyload-5685fdfcdc98de4e22711694a461e3fdd1c33885.tar.xz
Fix https://github.com/pyload/pyload/issues/1450
Diffstat (limited to 'module/plugins/hooks/PremiumizeMeHook.py')
-rw-r--r--module/plugins/hooks/PremiumizeMeHook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/PremiumizeMeHook.py b/module/plugins/hooks/PremiumizeMeHook.py
index e081fb389..f13520323 100644
--- a/module/plugins/hooks/PremiumizeMeHook.py
+++ b/module/plugins/hooks/PremiumizeMeHook.py
@@ -7,7 +7,7 @@ from module.plugins.internal.MultiHook import MultiHook
class PremiumizeMeHook(MultiHook):
__name__ = "PremiumizeMeHook"
__type__ = "hook"
- __version__ = "0.17"
+ __version__ = "0.18"
__config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
("pluginlist" , "str" , "Plugin list (comma separated)" , "" ),
@@ -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("https://api.premiumize.me/pm-api/v1.php",
+ answer = self.getURL("http://api.premiumize.me/pm-api/v1.php",
get={'method': "hosterlist", 'params[login]': user, 'params[pass]': data['password']})
data = json_loads(answer)