TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Find a YouTube video based on closed captions keyword search?

32 pointsby sigmaprimusalmost 2 years ago
I am trying to find a Jay Leno Headlines item of my cousin&#x27;s name and picture appearing in the Regina Leader Post as the Paperboy of the week&#x2F;month. I have watched many videos but there are hundreds of hours and many duplicates.<p>I was hoping that the closed captions for videos were indexed by google but I am not sure if they are and if there is a certain syntax to use for searching captions.<p>I tried googling this but have only found searching within a specific video rather than across the library.<p>To be more specific, his name is Rick Lee and the Headline appeared on the show sometime around Y2K.<p>Any help and or guidance would be greatly appreciated!<p>Thanks

13 comments

OrderlyTiamatalmost 2 years ago
this is not a complete solution, but you seem to know what videos you&#x27;re going to search through rather than wanting to search through everything. If that&#x27;s the case, I recommend downloading the subtitles for every video via yt-dlp [1] as shown in this stackoverflow question [2] (it doesn&#x27;t download the video itself this way to save bandwidth):<p><pre><code> yt-dlp --all-subs --skip-download https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Ye8mB6VsUHw </code></pre> (The answer uses youtube-dl, but I prefer yt-dlp, it works with these same options when I tried it)<p>When you&#x27;ve downloaded all subtitles, you can simply grep through them. I hope this helps!<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;yt-dlp&#x2F;yt-dlp">https:&#x2F;&#x2F;github.com&#x2F;yt-dlp&#x2F;yt-dlp</a><p>[2] <a href="https:&#x2F;&#x2F;superuser.com&#x2F;a&#x2F;927532&#x2F;1071647" rel="nofollow noreferrer">https:&#x2F;&#x2F;superuser.com&#x2F;a&#x2F;927532&#x2F;1071647</a>
dekatronalmost 2 years ago
Not a solution, but somewhat related: <a href="https:&#x2F;&#x2F;youglish.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;youglish.com&#x2F;</a> lets you search YouTube videos for keywords, but the purpose is to find examples of how to pronounce words from real usage. It also works for a few other languages aside from English.
评论 #36614645 未加载
评论 #36615312 未加载
sigmaprimusalmost 2 years ago
Thank You to everyone who took the time to read my question and especially those that replied. I have read over the replies and there is be many good ideas&#x2F;solutions to my query.<p>I am going to start at the top and work my way through them over the next little while and will definitely provide an update of what hopefully worked but it may be a few weeks.<p>I just wanted to post this comment to let you all know I appreciate the great responses and the HN community. As &lt;B&gt;benboozled&lt;&#x2F;B&gt; commented about his faith being restored in humanity, I am thankful for HN and all of you generous and helpful contributors.<p>M
pimlottcalmost 2 years ago
There’s literally thousands of episodes of The Tonight Show[0], many of which are probably not on YouTube. I would reach out to the Jay Leno fan community and see if anyone has it in a private archive. Never underestimate the organization skills of a dedicated fan.<p>0: <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;List_of_The_Tonight_Show_with_Jay_Leno_episodes" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;List_of_The_Tonight_Show_wit...</a>
a2128almost 2 years ago
Someone made a website to search through channels or playlists. Not sure if it still works but it might help: <a href="https:&#x2F;&#x2F;ytks.app&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;ytks.app&#x2F;</a>
stonksalmost 2 years ago
You can try to use <a href="https:&#x2F;&#x2F;filmot.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;filmot.com&#x2F;</a> to search videos by closed captions.<p>I tried to search but could not find the video.
activiationalmost 2 years ago
There are browser extensions to search captions on a single video but I don&#x27;t know of any better options.. which is kind of ridiculous considering Google owns YouTube.<p>Here is one: <a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;youtube-captions-search&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;youtube-capti...</a>
fuzztesteralmost 2 years ago
A related interesting problem would be: how to search by text keywords in the <i>audio</i> stream of the video.<p>I guess part of one solution approach could be to convert the speech to text. Could then grep it. But how would we correlate that back to the time positions in the video where those keywords occurred?
noman-landalmost 2 years ago
You can try using yt-fts[0]. I&#x27;ve had great luck with it.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;NotJoeMartinez&#x2F;yt-fts">https:&#x2F;&#x2F;github.com&#x2F;NotJoeMartinez&#x2F;yt-fts</a>
calderknightalmost 2 years ago
You can open the video transcript and ctrl+f to find the text you are looking for.<p>This at least would save you having to watch the videos.
lathiatalmost 2 years ago
<a href="https:&#x2F;&#x2F;incaptions.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;incaptions.com&#x2F;</a>
评论 #36619306 未加载
Leftiumalmost 2 years ago
These might help:<p>- <a href="https:&#x2F;&#x2F;hw.leftium.com&#x2F;#&#x2F;item&#x2F;34826944" rel="nofollow noreferrer">https:&#x2F;&#x2F;hw.leftium.com&#x2F;#&#x2F;item&#x2F;34826944</a><p>- <a href="https:&#x2F;&#x2F;hw.leftium.com&#x2F;#&#x2F;item&#x2F;36009774" rel="nofollow noreferrer">https:&#x2F;&#x2F;hw.leftium.com&#x2F;#&#x2F;item&#x2F;36009774</a>
raszalmost 2 years ago
ask chatgpt, Im sure they slurped all YT transcripts for learning