summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-04 22:32:10 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-04 22:32:10 +0200
commitda05c51747ec742dd019f689cf73be10721b1f8e (patch)
tree0cd679ea2dd23a6ec708f99b1b016acf1bf38991 /module/plugins/crypter
parent[LoadTo] Fix patterns (diff)
downloadpyload-da05c51747ec742dd019f689cf73be10721b1f8e.tar.xz
New crypter UploadableChFolder
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/UploadableChFolder.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/module/plugins/crypter/UploadableChFolder.py b/module/plugins/crypter/UploadableChFolder.py
new file mode 100644
index 000000000..b76076531
--- /dev/null
+++ b/module/plugins/crypter/UploadableChFolder.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+
+from module.plugins.internal.SimpleCrypter import SimpleCrypter
+
+
+class UploadableChFolder(SimpleCrypter):
+ __name__ = "UploadableChFolder"
+ __type__ = "crypter"
+ __version__ = "0.01"
+
+ __pattern__ = r'http://(?:www\.)?uploadable\.ch/list/\w+'
+
+ __description__ = """ Uploadable.ch folder decrypter plugin """
+ __author_name__ = ("guidobelix", "Walter Purcaro")
+ __author_mail__ = ("guidobelix@hotmail.it", "vuolter@gmail.com")
+
+
+ LINK_PATTERN = r'"(.+?)" class="icon_zipfile">'
+ TITLE_PATTERN = r'<div class="folder"><span>&nbsp;</span>(?P<title>.+?)</div>'
+ OFFLINE_PATTERN = r'We are sorry... The URL you entered cannot be found on the server.'
+ TEMP_OFFLINE_PATTERN = r'<div class="icon_err">'