summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar SK <ah5resawt@gmx.de> 2015-08-02 11:51:13 +0200
committerGravatar SK <ah5resawt@gmx.de> 2015-08-02 11:51:13 +0200
commit376c33fcf7f5aeb13359226033832e9708b0542d (patch)
treef402f7bb244533c4bcd7e05fa0bada929cc93ec1 /module/plugins/hoster
parentFix https://github.com/pyload/pyload/issues/1651 (diff)
downloadpyload-376c33fcf7f5aeb13359226033832e9708b0542d.tar.xz
fix #1646 (2)
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/PremiumizeMe.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/PremiumizeMe.py b/module/plugins/hoster/PremiumizeMe.py
index fb00bb84f..d968eccec 100644
--- a/module/plugins/hoster/PremiumizeMe.py
+++ b/module/plugins/hoster/PremiumizeMe.py
@@ -7,7 +7,7 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
class PremiumizeMe(MultiHoster):
__name__ = "PremiumizeMe"
__type__ = "hoster"
- __version__ = "0.19"
+ __version__ = "0.20"
__status__ = "testing"
__pattern__ = r'^unmatchable$' #: Since we want to allow the user to specify the list of hoster to use we let MultiHoster.activate
@@ -31,13 +31,13 @@ class PremiumizeMe(MultiHoster):
pyfile.name = ".".join(temp)
#: Get account data
- user, data = self.account.select()
+ user, info = self.account.select()
#: Get rewritten link using the premiumize.me api v1 (see https://secure.premiumize.me/?show=api)
data = json_loads(self.load("http://api.premiumize.me/pm-api/v1.php", #@TODO: Revert to `https` in 0.4.10
get={'method' : "directdownloadlink",
'params[login]': user,
- 'params[pass]' : data['password'],
+ 'params[pass]' : info['login']['password'],
'params[link]' : pyfile.url}))
#: Check status and decide what to do