Lurker News
yt-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 5 of 32

lopatin1 reply#
This will come in handy. I’ve always wanted to count how many times Lex Fridman has referred to something as a beautiful dance.
noman-land1 reply#
I want to do a word count on the word "love".
notjoemartinez3 replies#
> yt-fts search "love" --channel "Lex Fridman" | grep "love" | wc -l

> 7060

lopatin#
Legend
noman-land#
This comment blew my mind.
noman-land1 reply#
Update, I couldn't get this to work. It returns 0 for me.

Running it without the grep etc says channel not found.

Continue this thread — 1 reply