summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/TnyCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/TnyCz.py')
-rw-r--r--module/plugins/crypter/TnyCz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/TnyCz.py b/module/plugins/crypter/TnyCz.py
index 56c737969..4ba774af7 100644
--- a/module/plugins/crypter/TnyCz.py
+++ b/module/plugins/crypter/TnyCz.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
class TnyCz(SimpleCrypter):
__name__ = "TnyCz"
__type__ = "crypter"
- __version__ = "0.04"
+ __version__ = "0.05"
__pattern__ = r'http://(?:www\.)?tny\.cz/\w+'
__config__ = [("use_premium" , "bool", "Use premium account if available" , True),
@@ -23,7 +23,7 @@ class TnyCz(SimpleCrypter):
NAME_PATTERN = r'<title>(?P<N>.+?) - .+</title>'
- def getLinks(self):
+ def get_links(self):
m = re.search(r'<a id=\'save_paste\' href="(.+save\.php\?hash=.+)">', self.html)
return re.findall(".+", self.load(m.group(1))) if m else None