summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/CrockoCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/crypter/CrockoCom.py')
-rw-r--r--pyload/plugin/crypter/CrockoCom.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/pyload/plugin/crypter/CrockoCom.py b/pyload/plugin/crypter/CrockoCom.py
new file mode 100644
index 000000000..71dadd8d5
--- /dev/null
+++ b/pyload/plugin/crypter/CrockoCom.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+
+from pyload.plugin.internal.SimpleCrypter import SimpleCrypter
+
+
+class CrockoCom(SimpleCrypter):
+ __name = "CrockoCom"
+ __type = "crypter"
+ __version = "0.01"
+
+ __pattern = r'http://(?:www\.)?crocko\.com/f/.+'
+ __config = [("use_premium" , "bool", "Use premium account if available" , True),
+ ("use_subfolder" , "bool", "Save package to subfolder" , True),
+ ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)]
+
+ __description = """Crocko.com folder decrypter plugin"""
+ __license = "GPLv3"
+ __authors = [("zoidberg", "zoidberg@mujmail.cz")]
+
+
+ LINK_PATTERN = r'<td class="last"><a href="(.+?)">download</a>'