diff options
| author | 2015-08-02 11:51:13 +0200 | |
|---|---|---|
| committer | 2015-08-02 11:51:13 +0200 | |
| commit | 376c33fcf7f5aeb13359226033832e9708b0542d (patch) | |
| tree | f402f7bb244533c4bcd7e05fa0bada929cc93ec1 /module/plugins | |
| parent | Fix https://github.com/pyload/pyload/issues/1651 (diff) | |
| download | pyload-376c33fcf7f5aeb13359226033832e9708b0542d.tar.xz | |
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 | 
