From 8e7d14bae4d3c836f029a1235eb227380acc3f75 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 21:59:10 +0100 Subject: Fix plugins to work on 0.4.10 --- pyload/plugin/hoster/HellshareCz.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pyload/plugin/hoster/HellshareCz.py (limited to 'pyload/plugin/hoster/HellshareCz.py') diff --git a/pyload/plugin/hoster/HellshareCz.py b/pyload/plugin/hoster/HellshareCz.py new file mode 100644 index 000000000..2caaeb143 --- /dev/null +++ b/pyload/plugin/hoster/HellshareCz.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- + +from urlparse import urljoin + +from pyload.plugin.internal.SimpleHoster import SimpleHoster + + +class HellshareCz(SimpleHoster): + __name__ = "HellshareCz" + __type__ = "hoster" + __version__ = "0.85" + + __pattern__ = r'http://(?:www\.)?hellshare\.(?:cz|com|sk|hu|pl)/[^?]*/\d+' + + __description__ = """Hellshare.cz hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] + + + CHECK_TRAFFIC = True + LOGIN_ACCOUNT = True + + NAME_PATTERN = r'

]*>(?P[^<]+)

' + SIZE_PATTERN = r'(?P[\d.,]+) (?P[\w^_]+)' + OFFLINE_PATTERN = r'

File not found.

' + + LINK_FREE_PATTERN = LINK_PREMIUM_PATTERN = r'