diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-07 00:27:18 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-07 00:27:18 +0100 |
commit | 67587fbe0335cacfde28a86ba729b9d567ce1da7 (patch) | |
tree | 090ea3a41894437ce619fe06304508479ace6ab6 /module/plugins/hooks/PremiumizeMe.py | |
parent | Plugin code cosmetics (2) (diff) | |
download | pyload-67587fbe0335cacfde28a86ba729b9d567ce1da7.tar.xz |
Plugin code cosmetics (3)
Diffstat (limited to 'module/plugins/hooks/PremiumizeMe.py')
-rw-r--r-- | module/plugins/hooks/PremiumizeMe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/PremiumizeMe.py b/module/plugins/hooks/PremiumizeMe.py index ec21fbcb4..c18e8cf8e 100644 --- a/module/plugins/hooks/PremiumizeMe.py +++ b/module/plugins/hooks/PremiumizeMe.py @@ -30,8 +30,8 @@ class PremiumizeMe(MultiHoster): # 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?method=hosterlist¶ms[login]=%s¶ms[pass]=%s" % ( - user, data['password'])) + answer = getURL("https://api.premiumize.me/pm-api/v1.php" + get={'method': "hosterlist", 'params[login]': user, 'params[pass]': data['password']}) data = json_loads(answer) # If account is not valid thera are no hosters available |