summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PremiumizeMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 19:14:29 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 19:14:29 +0200
commit9d9618ab35071f36840fe51e63fe2f887131dc5a (patch)
tree47028e89e5a7a2ede5e1d0eddfa7930ba367baf6 /module/plugins/hoster/PremiumizeMe.py
parent[SimpleCrypter] Don't use self.link(s) (diff)
downloadpyload-9d9618ab35071f36840fe51e63fe2f887131dc5a.tar.xz
Update hosters
Diffstat (limited to 'module/plugins/hoster/PremiumizeMe.py')
-rw-r--r--module/plugins/hoster/PremiumizeMe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/PremiumizeMe.py b/module/plugins/hoster/PremiumizeMe.py
index 918526355..02937f74f 100644
--- a/module/plugins/hoster/PremiumizeMe.py
+++ b/module/plugins/hoster/PremiumizeMe.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from module.common.json_layer import json_loads
+from module.plugins.internal.utils import json
from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
@@ -35,7 +35,7 @@ class PremiumizeMe(MultiHoster):
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
+ 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]' : info['login']['password'],