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 2 of 32
https://www.sqlite.org/fts5.html
I’ve not used it with enough content to know how much faster it is than LIKE ‘%my query%’ but it should be a lot quicker.
(Also, in most cases you don’t need to create an id column — every table has one already in the form of rowid.)
https://www.sqlite.org/rowidtable.html