Skip to content
/ ytSubs Public

Download youtube subtitles passing an url, receive a document with ONLY the subtitles and nothing else.

Notifications You must be signed in to change notification settings

totoLab/ytSubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

ytSubs

Download youtube subtitles passing an url, receive a document with ONLY the subtitles and nothing else.

Requirements

pip install youtube_dl

Usage

$ python vtt2text.py $url

TODO:

  • Python

    • Download subs with youtube-dl
    • Remove tags <> for timestamps, empty lines, repetead lines
    • Automate choice between classic and auto-generated subtitles
  • Shell

    • Pass the result to a word processor: pandoc -o output.docx input.txt

About

Download youtube subtitles passing an url, receive a document with ONLY the subtitles and nothing else.

Topics

Resources

Stars

Watchers

Forks

Languages