summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/GooGl.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 18:55:20 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 18:55:20 +0200
commit54025794ebf707ba0c0f2840d5364b0b380d17a9 (patch)
tree5844b0cb987d4f62b8faf2e8984268793a2ed653 /module/plugins/crypter/GooGl.py
parentUpdate containers (diff)
downloadpyload-54025794ebf707ba0c0f2840d5364b0b380d17a9.tar.xz
Update crypters
Diffstat (limited to 'module/plugins/crypter/GooGl.py')
-rw-r--r--module/plugins/crypter/GooGl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/GooGl.py b/module/plugins/crypter/GooGl.py
index cbe44a5b3..b52055e07 100644
--- a/module/plugins/crypter/GooGl.py
+++ b/module/plugins/crypter/GooGl.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
-from module.common.json_layer import json_loads
+from module.plugins.internal.utils import json
class GooGl(SimpleCrypter):
@@ -27,7 +27,7 @@ class GooGl(SimpleCrypter):
def get_links(self):
rep = self.load(self.API_URL, get={'shortUrl': self.pyfile.url})
self.log_debug("JSON data: " + rep)
- rep = json_loads(rep)
+ rep = json.loads(rep)
return [rep['longUrl']] if "longUrl" in rep else None