Skip to content

How is this possible? #171

Answered by jdepoix
AaronPhilipp asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @AaronPhilipp,
Thank you for the kind words! 😊
The main idea of the module is to emulate the HTTP calls which are executed by YouTube's web client. Since you are able to enable a video's subtitles even if you are not logged in, we can call those endpoints unauthenticated as well.
If you are curious about the details, just have a look at the code (it really isn't that complicated 😉)! You'll find the main logic in youtube_transcript_api._transcripts.py and it only is around 300 lines of code.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jdepoix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants