Re:Show HN: VideoMentions – Search YouTube based on the spok...
by kellenmace on Thursday May 26, 2022 @01:24AM
(#31514932)
Nice job on PhraseFinder, @SteveDR! I am indeed doing something similar for my app. The user enters the YouTube Channel URL, the keywords and the date range, then I perform an on-the-fly search to find the matches.
I replied to @lewisjoe's comment above this one with some more details about tricks I'm employing to make searches fast.
Thanks for checking out my project!
https://phrasefinder.net
I don’t know if it even works anymore and I’m sure the code is atrocious. But I remember that I would just scrape YouTube pages for video IDs, and then use an API that returned video captions for a given ID [1]. I could see how OP would do something similar.
[1] https://pypi.org/project/youtube-transcript-api/