diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-08-02 12:37:17 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-08-02 12:37:17 +0200 |
commit | fd345d143ae3967f4a0cb0fa1c8df68ff67d84ad (patch) | |
tree | f402f7bb244533c4bcd7e05fa0bada929cc93ec1 /module/plugins | |
parent | Fix https://github.com/pyload/pyload/issues/1651 (diff) | |
parent | fix #1646 (2) (diff) | |
download | pyload-fd345d143ae3967f4a0cb0fa1c8df68ff67d84ad.tar.xz |
Merge pull request #1659 from skpyl/stable
Fix #1646 (2)
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/PremiumizeMe.py | 6 |
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 |