summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar guidobelix <guidobelix@hotmail.it> 2014-10-14 13:06:38 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-14 13:06:38 +0200
commitcb41bc9bddd0d9308063224ad5e94264aadb12fc (patch)
tree6657f7a610c9fae9537d9819224abe98c8bf1bbb /module/plugins/crypter
parentNew plugin JunocloudMe (hoster + account) (diff)
downloadpyload-cb41bc9bddd0d9308063224ad5e94264aadb12fc.tar.xz
New crypter JunocloudMeFolder
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/JunocloudMeFolder.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/module/plugins/crypter/JunocloudMeFolder.py b/module/plugins/crypter/JunocloudMeFolder.py
new file mode 100644
index 000000000..9e5fa1cbf
--- /dev/null
+++ b/module/plugins/crypter/JunocloudMeFolder.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+
+from module.plugins.internal.SimpleCrypter import SimpleCrypter
+
+
+class JunocloudMeFolder(SimpleCrypter):
+ __name__ = "JunocloudMeFolder"
+ __type__ = "crypter"
+ __version__ = "0.01"
+
+ __pattern__ = r'http://(?:www\.)?junocloud\.me/folders/(?P<ID>\d+/\w+)'
+
+ __description__ = """Junocloud.me folder decrypter plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("guidobelix", "guidobelix@hotmail.it")]
+
+
+ URL_REPLACEMENTS = [(__pattern__, r'http://www.junocloud.me/folders/\g<ID>?per_page=10000')]
+
+ LINK_PATTERN = r'<a href="(.+?)" target="_blank">.+?</a>'