Skip to content

nfuster2017/CC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Closed Captions

Downloads the closed captions(subtitles) from Youtube videos

Requirements

  • Currently requires python >= 3.5 but will likely change to 2.7 soon

To Use

from ytcc.download import Download

video_id = 'jNQXAC9IVRw'
download = Download()
captions = download.get_captions(video_id)

Known Issues

This is currently just written for the English(en-US) language as that is what my use case required. Definitely would love to see it support all languages

Development

Run Tests

Note: Functional tests do download directly from Youtube

## All tests
python -m unittest discover

## Unit tests
python -m unittest discover test/unit

## Functional tests
python -m unittest discover test/functional

About

closed captioning from youtube

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages