Skip to content

Commit e9c3db6

Browse files
committed
updated README
1 parent cbe4cd5 commit e9c3db6

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -375,17 +375,8 @@ ytt_api_2.fetch(video_id)
375375
## Cookie Authentication
376376

377377
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.
389380

390381
## Using Formatters
391382
Formatters are meant to be an additional layer of processing of the transcript you pass it. The goal is to convert a

0 commit comments

Comments
 (0)