diff options
Diffstat (limited to 'module/plugins/hoster')
| -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) | 
