INNER CODE UNIT · Python
__init__
jdepoix/youtube-transcript-api · youtube_transcript_api/_errors.py:19
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}"
)
class CouldNotRetrieveTranscript(YouTubeTranscriptApiException):
"""
Raised if a transcript could not be retrieved.