diff options
Diffstat (limited to 'pyload/plugins/hoster/MegareleaseOrg.py')
-rw-r--r-- | pyload/plugins/hoster/MegareleaseOrg.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pyload/plugins/hoster/MegareleaseOrg.py b/pyload/plugins/hoster/MegareleaseOrg.py new file mode 100644 index 000000000..0f853c58a --- /dev/null +++ b/pyload/plugins/hoster/MegareleaseOrg.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- + +from pyload.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo + + +class MegareleaseOrg(XFSPHoster): + __name__ = "MegareleaseOrg" + __type__ = "hoster" + __version__ = "0.01" + + __pattern__ = r'https?://(?:www\.)?megarelease\.org/\w{12}' + + __description__ = """Megarelease.org hoster plugin""" + __author_name__ = ("derek3x", "stickell") + __author_mail__ = ("derek3x@vmail.me", "l.stickell@yahoo.it") + + + HOSTER_NAME = "megarelease.org" + + FILE_INFO_PATTERN = r'<font color="red">%s/(?P<N>.+)</font> \((?P<S>[^)]+)\)</font>' % __pattern__ + + +getInfo = create_getInfo(MegareleaseOrg) |