1

If I have a list of YouTube video URLs, how do I search text strings in the English subtitles?

The automatically generated subtitles should be used if possible: use human subtitles if they are available.

  • what do you mean by "text strings" ?? – user0 Aug 13 '18 at 0:19
  • @User0 Search subtitles for text. – neverMind9 Aug 13 '18 at 9:02
  • 1
    so let me put it in other words... you want to search for any given word from subtitles which are part of video uploaded on youtube and all you have is an URL? – user0 Aug 13 '18 at 12:09
  • @User0 exactly. – neverMind9 Aug 13 '18 at 14:16
  • 1
    well thats not possible at all. you would need to download all subtitles and then run a batch script to find what you need – user0 Aug 13 '18 at 14:18
1

to mass-download subtitles:

youtube-dl.exe -o %%(autonumber)s-%%(title)s.%%(ext)s --all-subs -a feed.txt

  • in a folder where you downloaded youtube-dl.exe create text file feed.txt with content like:

https://www.youtube.com/watch?v=nsnyl8llfH4
https://www.youtube.com/watch?v=66OpdgDgjBQ
https://www.youtube.com/watch?v=gB9n2gHsHN4

  • run/execute BATCH.cmd by double-clicking
  • wait until cmd window closes (it can take a time - depends on your internet speed)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.