From acc46fc3497a66a427b795b4a22c6e71d69185a1 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 13 Dec 2014 15:56:57 +0100 Subject: Update --- pyload/plugin/hoster/RarefileNet.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pyload/plugin/hoster/RarefileNet.py (limited to 'pyload/plugin/hoster/RarefileNet.py') diff --git a/pyload/plugin/hoster/RarefileNet.py b/pyload/plugin/hoster/RarefileNet.py new file mode 100644 index 000000000..c14bb9008 --- /dev/null +++ b/pyload/plugin/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