From 435fdc3c04a445e835b51bdf1961169aa8a3fc4f Mon Sep 17 00:00:00 2001 From: t4skforce Date: Mon, 5 May 2014 13:49:16 +0200 Subject: New hoster: MegaFilesSe Merges #601 --- module/plugins/hoster/MegaFilesSe.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 module/plugins/hoster/MegaFilesSe.py (limited to 'module/plugins') 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']*>File Not Found

' + FILE_NAME_PATTERN = r']+>\s*(?P[^<]+)\s*' + + +getInfo = create_getInfo(MegaFilesSe) -- cgit v1.2.3