File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -375,17 +375,8 @@ ytt_api_2.fetch(video_id)
375
375
## Cookie Authentication
376
376
377
377
Some videos are age restricted, so this module won't be able to access those videos without some sort of
378
- authentication. To do this, you will need to have access to the desired video in a browser. Then, you will need to
379
- download that pages cookies into a text file. You can use the Chrome extension
380
- [ Cookie-Editor] ( https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm?hl=en ) and
381
- select "Netscape" during export, or the Firefox extension [ cookies.txt] ( https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/ ) .
382
-
383
- Once you have that, you can use the following to access age-restricted videos' captions like so.
384
-
385
- ``` python
386
- ytt_api = YouTubeTranscriptApi(cookie_path = ' /path/to/your/cookies.txt' )
387
- ytt_api.fetch(video_id)
388
- ```
378
+ authentication. Unfortunately, some recent changes to the YouTube API have broken the current implementation of cookie
379
+ based authentication, so this feature is currently not available.
389
380
390
381
## Using Formatters
391
382
Formatters are meant to be an additional layer of processing of the transcript you pass it. The goal is to convert a
You can’t perform that action at this time.
0 commit comments