From ce1c2b6b05c08b669357947e61ae40efce7fc50f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 10:46:28 +0100 Subject: module temp --- module/plugins/hoster/RarefileNet.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 module/plugins/hoster/RarefileNet.py (limited to 'module/plugins/hoster/RarefileNet.py') diff --git a/module/plugins/hoster/RarefileNet.py b/module/plugins/hoster/RarefileNet.py new file mode 100644 index 000000000..6ea06720d --- /dev/null +++ b/module/plugins/hoster/RarefileNet.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- + +import re + +from pyload.plugin.internal.XFSHoster import XFSHoster, create_getInfo + + +class RarefileNet(XFSHoster): + __name__ = "RarefileNet" + __type__ = "hoster" + __version__ = "0.08" + + __pattern__ = r'http://(?:www\.)?rarefile\.net/\w{12}' + + __description__ = """Rarefile.net hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] + + + HOSTER_DOMAIN = "rarefile.net" + + NAME_PATTERN = r'(?P.+?)<' + SIZE_PATTERN = r'>Size : (?P[\d.,]+) (?P[\w^_]+)' + + LINK_PATTERN = r'(?P=link)' + + +getInfo = create_getInfo(RarefileNet) -- cgit v1.2.3