summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/TnyCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-12 20:33:34 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-12 20:33:34 +0100
commit0f530be2642c63759cb6156866f1d4ab119760da (patch)
treedf25e018cba9b652a6bcbcbe41dc82b89e40a3fa /module/plugins/crypter/TnyCz.py
parent[SimpleHoster] Remove CONTENT_DISPOSITION + Rename parseInfo to parseInfos (diff)
downloadpyload-0f530be2642c63759cb6156866f1d4ab119760da.tar.xz
Fix missing create_getInfo
Diffstat (limited to 'module/plugins/crypter/TnyCz.py')
-rw-r--r--module/plugins/crypter/TnyCz.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/crypter/TnyCz.py b/module/plugins/crypter/TnyCz.py
index 6dde729f5..d36128550 100644
--- a/module/plugins/crypter/TnyCz.py
+++ b/module/plugins/crypter/TnyCz.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from module.plugins.internal.SimpleCrypter import SimpleCrypter
+from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
import re
@@ -25,3 +25,6 @@ class TnyCz(SimpleCrypter):
def getLinks(self):
m = re.search(r'<a id=\'save_paste\' href="(.+save\.php\?hash=.+)">', self.html)
return re.findall(".+", self.load(m.group(1), decode=True)) if m else None
+
+
+getInfo = create_getInfo(TnyCz)