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..67086b068
--- /dev/null
+++ b/pyload/plugins/hoster/MegaFilesSe.py
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+
+from pyload.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+
+
+class MegaFilesSe(XFSPHoster):
+ __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'><font[^>]*>File Not Found'
+ FILE_NAME_PATTERN = r'<div[^>]+>\s*<b>(?P<N>[^<]+)</b>\s*</div>'
+
+
+getInfo = create_getInfo(MegaFilesSe)