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 12 of 32
There have been earlier tools which permitted command-line / terminal access to Youtube, one of the best being mps-youtube:
<https://github.com/mps-youtube/mps-youtube>
That permitted searches for terms and channels (though not subtitle text within channel AFAIK), for music specifically, and compiliation of either temporary or saved playlists, with the option to play through a full selection of videos. It also offered either full-video or audio-only playback.
Google killed it by throttling API-key access.
Discussed previously: <https://news.ycombinator.com/item?id=32919545> <https://news.ycombinator.com/item?id=28571421>