"""115网盘凭证管理 v1.0.0 — Cookie直传""" class Pan115CredentialManager: def __init__(self, config): self.config = config def validate(self) -> bool: return bool(self.config.cookie and len(self.config.cookie) >= 30) def get_headers(self) -> dict: return {"Cookie": self.config.cookie, "Referer": "https://115.com/"}