summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/TurbobitNetFolder.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/TurbobitNetFolder.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/TurbobitNetFolder.py')
-rw-r--r--module/plugins/crypter/TurbobitNetFolder.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/crypter/TurbobitNetFolder.py b/module/plugins/crypter/TurbobitNetFolder.py
index 4e07564af..64fcefac6 100644
--- a/module/plugins/crypter/TurbobitNetFolder.py
+++ b/module/plugins/crypter/TurbobitNetFolder.py
@@ -2,7 +2,7 @@
import re
-from module.plugins.internal.SimpleCrypter import SimpleCrypter
+from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
from module.common.json_layer import json_loads
@@ -42,3 +42,6 @@ class TurbobitNetFolder(SimpleCrypter):
id = re.match(self.__pattern__, self.pyfile.url).group("ID")
fixurl = lambda id: "http://turbobit.net/%s.html" % id
return map(fixurl, self._getLinks(id))
+
+
+getInfo = create_getInfo(TurbobitNetFolder)