summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar z00nx <z00nx0@gmail.com> 2013-01-11 07:22:08 +0100
committerGravatar z00nx <z00nx0@gmail.com> 2013-01-11 07:22:08 +0100
commit2e205cef74305413e438d514cc675c0d96d46751 (patch)
tree3feb746809f322a3f1fbdfff02fa22cb2d8eae45
parentversion bump (diff)
downloadpyload-2e205cef74305413e438d514cc675c0d96d46751.tar.xz
Added BSecureUploadEu plugin
-rw-r--r--module/plugins/hoster/SecureUploadEu.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/module/plugins/hoster/SecureUploadEu.py b/module/plugins/hoster/SecureUploadEu.py
new file mode 100644
index 000000000..b9a900d96
--- /dev/null
+++ b/module/plugins/hoster/SecureUploadEu.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+
+
+class SecureUploadEu(XFileSharingPro):
+ __name__ = "SecureUploadEu"
+ __type__ = "hoster"
+ __pattern__ = r"http://(www\.)?secureupload\.eu/(\w){12}(/\w+)"
+ __version__ = "0.01"
+ __description__ = """SecureUpload.eu hoster plugin"""
+ __author_name__ = ("z00nx")
+ __author_mail__ = ("z00nx0@gmail.com")
+
+ HOSTER_NAME = "secureupload.eu"
+ FILE_INFO_PATTERN = '<h3>Downloading (?P<N>[^<]+) \((?P<S>[^<]+)\)</h3>'
+ FILE_OFFLINE_PATTERN = 'The file was removed|File Not Found'
+
+getInfo = create_getInfo(SecureUploadEu)