Download youtube subtitles passing an url, receive a document with ONLY the subtitles and nothing else.
pip install youtube_dl
$ python vtt2text.py $url
-
- Download subs with youtube-dl
- Remove tags <> for timestamps, empty lines, repetead lines
- Automate choice between classic and auto-generated subtitles
-
- Pass the result to a word processor:
pandoc -o output.docx input.txt
- Pass the result to a word processor: