summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/CzshareComFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/CzshareComFolder.py')
-rw-r--r--module/plugins/crypter/CzshareComFolder.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/crypter/CzshareComFolder.py b/module/plugins/crypter/CzshareComFolder.py
index c3606fdab..c60d5a87d 100644
--- a/module/plugins/crypter/CzshareComFolder.py
+++ b/module/plugins/crypter/CzshareComFolder.py
@@ -6,9 +6,11 @@ from module.plugins.Crypter import Crypter
class CzshareComFolder(Crypter):
__name__ = "CzshareComFolder"
+ __version__ = "0.2"
__type__ = "crypter"
+
__pattern__ = r'http://(?:www\.)?(czshare|sdilej)\.(com|cz)/folders/.*'
- __version__ = "0.2"
+
__description__ = """Czshare.com folder decrypter plugin, now Sdilej.cz"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
@@ -17,6 +19,7 @@ class CzshareComFolder(Crypter):
LINK_PATTERN = r'<td class="col2"><a href="([^"]+)">info</a></td>'
#NEXT_PAGE_PATTERN = r'<a class="next " href="/([^"]+)">&nbsp;</a>'
+
def decrypt(self, pyfile):
html = self.load(pyfile.url)