summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/GooGl.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/GooGl.py')
-rw-r--r--module/plugins/crypter/GooGl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/GooGl.py b/module/plugins/crypter/GooGl.py
index b36e22884..9bc03532e 100644
--- a/module/plugins/crypter/GooGl.py
+++ b/module/plugins/crypter/GooGl.py
@@ -7,7 +7,7 @@ from module.common.json_layer import json_loads
class GooGl(SimpleCrypter):
__name__ = "GooGl"
__type__ = "crypter"
- __version__ = "0.03"
+ __version__ = "0.04"
__pattern__ = r'https?://(?:www\.)?goo\.gl/([a-zA-Z]+/)?\w+'
@@ -22,9 +22,9 @@ class GooGl(SimpleCrypter):
OFFLINE_PATTERN = r'has been disabled|does not exist'
- def getLinks(self):
+ def get_links(self):
rep = self.load(self.API_URL, get={'shortUrl': self.pyfile.url})
- self.logDebug("JSON data: " + rep)
+ self.log_debug("JSON data: " + rep)
rep = json_loads(rep)
return [rep['longUrl']] if "longUrl" in rep else None