# -*- coding: utf-8 -*- 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+' __config = [("use_premium", "bool", "Use premium account if available", True)] __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'