summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/TurbobitNetFolder.py
diff options
context:
space:
mode:
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)