import requests class SponsorBlockError(Exception): pass class SponsorBlock: def __init__(self, session: requests.Session = None, base_url: str = "https://sponsor.ajay.app"): self.base_url: str = base_url self.session: requests.Session = session or requests.Session()