diff options
Diffstat (limited to 'pyload/plugins/hoster/RarefileNet.py')
-rw-r--r-- | pyload/plugins/hoster/RarefileNet.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pyload/plugins/hoster/RarefileNet.py b/pyload/plugins/hoster/RarefileNet.py new file mode 100644 index 000000000..ce54b4dc7 --- /dev/null +++ b/pyload/plugins/hoster/RarefileNet.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- + +import re + +from pyload.plugins.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'<font color="red">(?P<N>.+?)<' + SIZE_PATTERN = r'>Size : (?P<S>[\d.,]+) (?P<U>[\w^_]+)' + + LINK_PATTERN = r'<a href="(?P<link>[^"]+)">(?P=link)</a>' + + +getInfo = create_getInfo(RarefileNet) |