Show HN: YouTube Full Text Search – Search all of a channel from the commandline (opens in a new tab)github.com
540 pointsyt-fts is a simple python script that uses yt-dlp to scrape all of a youtube channels subtitles and load them into an sqlite database that is searchable from the command line. It allows you to query a channel for specific key word or phrase and will generate time stamped youtube urls to the video containing the keyword.
Comments (165) 32 threads
Show all comments
Showing thread 9 of 32
I had made something like this for my own use, but it was way more complicated. It took a user account, downloaded all the liked videos, ran it through some model and vectorized it, and then you could use natural language search to describe a scene in your history of liked videos and it would show you the timestamp and the thumbnail (with the link to start watching from the timestamp).
I ended up taking it offline because I didn't use it much, it was expensive and I couldn't see a path to monetization.
This solution being posted however, is really elegant, in particular because it is very resource-efficient.