summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/TurbobitNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/TurbobitNet.py')
-rw-r--r--module/plugins/crypter/TurbobitNet.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/crypter/TurbobitNet.py b/module/plugins/crypter/TurbobitNet.py
index a1309c083..67f7c74d4 100644
--- a/module/plugins/crypter/TurbobitNet.py
+++ b/module/plugins/crypter/TurbobitNet.py
@@ -2,7 +2,7 @@
import re
-from pyload.plugin.internal.SimpleCrypter import SimpleCrypter
+from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
from pyload.utils import json_loads
@@ -39,6 +39,9 @@ class TurbobitNet(SimpleCrypter):
def getLinks(self):
- id = re.match(self.__pattern__, self.pyfile.url).group("ID")
+ 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)