# -*- coding: utf-8 -*- import re from pyload.plugin.Crypter import Crypter from pyload.network.HTTPRequest import BadHeader class EmbeduploadCom(Crypter): __name = "EmbeduploadCom" __type = "crypter" __version = "0.02" __pattern = r'http://(?:www\.)?embedupload\.com/\?d=.+' __config = [("use_subfolder", "bool", "Save package to subfolder", True), ("subfolder_per_package", "bool", "Create a subfolder for each package", True), ("preferedHoster", "str", "Prefered hoster list (bar-separated)", "embedupload"), ("ignoredHoster", "str", "Ignored hoster list (bar-separated)", "")] __description = """EmbedUpload.com decrypter plugin""" __license = "GPLv3" __authors = [("zoidberg", "zoidberg@mujmail.cz")] LINK_PATTERN = r'