summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-23 17:41:57 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-23 17:41:57 +0100
commit87ffa4185db663bfc796a678415a49f8dbbab535 (patch)
treefeb9740d84b1206e5ea75b095d26aa5621267456 /module/plugins
parent[SimpleHoster] Update (diff)
downloadpyload-87ffa4185db663bfc796a678415a49f8dbbab535.tar.xz
[PremiumizeMe] Fix typo
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hooks/PremiumizeMe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/PremiumizeMe.py b/module/plugins/hooks/PremiumizeMe.py
index 4ebf96451..b37728e06 100644
--- a/module/plugins/hooks/PremiumizeMe.py
+++ b/module/plugins/hooks/PremiumizeMe.py
@@ -8,7 +8,7 @@ from module.plugins.internal.MultiHook import MultiHook
class PremiumizeMe(MultiHook):
__name__ = "PremiumizeMe"
__type__ = "hook"
- __version__ = "0.13"
+ __version__ = "0.14"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
@@ -30,7 +30,7 @@ class PremiumizeMe(MultiHook):
# Get supported hosters list from premiumize.me using the
# json API v1 (see https://secure.premiumize.me/?show=api)
- answer = getURL("https://api.premiumize.me/pm-api/v1.php"
+ answer = getURL("https://api.premiumize.me/pm-api/v1.php",
get={'method': "hosterlist", 'params[login]': user, 'params[pass]': data['password']})
data = json_loads(answer)