We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 090a5db commit bb08cfaCopy full SHA for bb08cfa
youtube_transcript_api/_api.py
@@ -32,6 +32,10 @@ def __init__(
32
http_client: Optional[Session] = None,
33
):
34
"""
35
+ Note on thread-safety: As this class will initialize a `requests.Session`
36
+ object, it is not thread-safe. Make sure to initialize an instance of
37
+ `YouTubeTranscriptApi` per thread, if used in a multi-threading scenario!
38
+
39
:param cookie_path: Path to a text file containing YouTube authorization cookies
40
:param proxy_config: an optional ProxyConfig object, defining proxies used for
41
all network requests. This can be used to work around your IP being blocked
0 commit comments