diff options
author | t4skforce <t4skforce@t4skforce-m11x.neumair.net> | 2014-05-05 13:49:16 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-05-05 13:49:16 +0200 |
commit | 435fdc3c04a445e835b51bdf1961169aa8a3fc4f (patch) | |
tree | 96743800874581031d9249c8a751a6909e26e3bb /module/plugins | |
parent | New hoster: LemUploads (diff) | |
download | pyload-435fdc3c04a445e835b51bdf1961169aa8a3fc4f.tar.xz |
New hoster: MegaFilesSe
Merges #601
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/MegaFilesSe.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/module/plugins/hoster/MegaFilesSe.py b/module/plugins/hoster/MegaFilesSe.py new file mode 100644 index 000000000..43601bdb1 --- /dev/null +++ b/module/plugins/hoster/MegaFilesSe.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- + +from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo + + +class MegaFilesSe(XFileSharingPro): + __name__ = "MegaFilesSe" + __type__ = "hoster" + __pattern__ = r'http://(?:www\.)?megafiles\.se/\w{12}' + __version__ = "0.01" + __description__ = """MegaFiles.se hoster plugin""" + __author_name__ = "t4skforce" + __author_mail__ = "t4skforce1337[AT]gmail[DOT]com" + + HOSTER_NAME = "megafiles.se" + + FILE_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) |