Hacker News new | ask | show | jobs
by Leftium 523 days ago
The OP sorted out the subscription/signup/billing issues.

The main reason I signed up was for a nice way to search through YouTube transcripts. YouTube requires many clicks, and the transcript is jammed into a small div.

Another reason I signed up was because I was curious how the YouTube videos were being embedded. It seems like just via the YouTube API?

1 comments

You can pull YouTube transcripts directly with a tool like this: https://youtubetranscript.com/

This can be done programmatically with YouTube Transcript API [0]

But you may get IP blocked if you do it a lot so you can use a Tor proxy [1].

Afterwards, you can just cmd/ctrl+f through it or throw it at an LLM.

[0] https://github.com/jdepoix/youtube-transcript-api

[1] https://github.com/rinvii/yt-transcript