summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/CrockoCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/CrockoCom.py')
-rw-r--r--module/plugins/crypter/CrockoCom.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/crypter/CrockoCom.py b/module/plugins/crypter/CrockoCom.py
index 577433510..9fad661d2 100644
--- a/module/plugins/crypter/CrockoCom.py
+++ b/module/plugins/crypter/CrockoCom.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from pyload.plugin.internal.SimpleCrypter import SimpleCrypter
+from module.plugins.internal.SimpleCrypter import SimpleCrypter
class CrockoCom(SimpleCrypter):
@@ -8,7 +8,7 @@ class CrockoCom(SimpleCrypter):
__type__ = "crypter"
__version__ = "0.01"
- __pattern__ = r'http://(?:www\.)?crocko\.com/f/.*'
+ __pattern__ = r'http://(?:www\.)?crocko\.com/f/.+'
__config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
@@ -18,3 +18,6 @@ class CrockoCom(SimpleCrypter):
LINK_PATTERN = r'<td class="last"><a href="([^"]+)">download</a>'
+
+
+getInfo = create_getInfo(CrockoComFolder)