INNER CODE UNIT · Python

YouTubeTranscriptApiException

jdepoix/youtube-transcript-api · youtube_transcript_api/_errors.py:10

class YouTubeTranscriptApiException(Exception):
    pass


class CookieError(YouTubeTranscriptApiException):
    pass


class CookiePathInvalid(CookieError):
    def __init__(
        self, cookie_path: Path
    ):  # pragma: no cover until cookie authentication is re-implemented
        super().__init__(f"Can't load the provided cookie file: {cookie_path}")


class CookieInvalid(CookieError):
    def __init__(
        self, cookie_path: Path

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…