# -*- coding: utf-8 -*- import re from pyload.plugin.internal.SimpleCrypter import SimpleCrypter class DataHu(SimpleCrypter): __name = "DataHu" __type = "crypter" __version = "0.06" __pattern = r'http://(?:www\.)?data\.hu/dir/\w+' __config = [("use_premium" , "bool", "Use premium account if available" , True), ("use_subfolder" , "bool", "Save package to subfolder" , True), ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)] __description = """Data.hu folder decrypter plugin""" __license = "GPLv3" __authors = [("crash", ""), ("stickell", "l.stickell@yahoo.it")] LINK_PATTERN = r'\1' NAME_PATTERN = ur'