jdepoix / youtube-transcript-api

This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require an API key nor a headless browser, like other selenium based solutions do!
MIT License
2.54k stars 279 forks source link

[Question] Authentication, basic questions #273

Closed stormsson closed 2 months ago

stormsson commented 2 months ago

This could be trivial, please have patience, but I'm missing a point in how this works:

thank you

jdepoix commented 2 months ago

This module simply uses the same endpoints which are used by the YouTube web client. Since you are also able to enable subtitles on a YouTube video without being logged in, we are also able to retrieve those without any form of Authentication.