summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/MegaFilesSe.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/MegaFilesSe.py')
-rw-r--r--pyload/plugins/hoster/MegaFilesSe.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/pyload/plugins/hoster/MegaFilesSe.py b/pyload/plugins/hoster/MegaFilesSe.py
new file mode 100644
index 000000000..48306cd7f
--- /dev/null
+++ b/pyload/plugins/hoster/MegaFilesSe.py
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+
+from pyload.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+
+
+class MegaFilesSe(XFileSharingPro):
+ __name__ = "MegaFilesSe"
+ __type__ = "hoster"
+ __version__ = "0.01"
+
+ __pattern__ = r'http://(?:www\.)?megafiles\.se/\w{12}'
+
+ __description__ = """MegaFiles.se hoster plugin"""
+ __author_name__ = "t4skforce"
+ __author_mail__ = "t4skforce1337[AT]gmail[DOT]com"
+
+ HOSTER_NAME = "megafiles.se"
+
+ OFFLINE_PATTERN = r'<b><font[^>]*>File Not Found</font></b><br><br>'
+ FILE_NAME_PATTERN = r'<div[^>]+>\s*<b>(?P<N>[^<]+)</b>\s*</div>'
+
+
+getInfo = create_getInfo(MegaFilesSe)