INNER CODE UNIT · Python
CookieError
jdepoix/youtube-transcript-api · youtube_transcript_api/_errors.py:14
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
): # pragma: no cover until cookie authentication is re-implemented
super().__init__(
f"The cookies provided are not valid (may have expired): {cookie_path}"
)