# -*- coding: utf-8 -*- import re from urllib import unquote from pyload.plugin.captcha.ReCaptcha import ReCaptcha from pyload.plugin.internal.SimpleHoster import SimpleHoster class DepositfilesCom(SimpleHoster): __name = "DepositfilesCom" __type = "hoster" __version = "0.55" __pattern = r'https?://(?:www\.)?(depositfiles\.com|dfiles\.(eu|ru))(/\w{1,3})?/files/(?P\w+)' __config = [("use_premium", "bool", "Use premium account if available", True)] __description = """Depositfiles.com hoster plugin""" __license = "GPLv3" __authors = [("spoob", "spoob@pyload.org"), ("zoidberg", "zoidberg@mujmail.cz"), ("Walter Purcaro", "vuolter@gmail.com")] NAME_PATTERN = r'