Download subtitles / closed captions from youtube, including manually and automatically generated ones.
Project description
Youtube subtitles downloader
Download closed captions from youtube videos (both manual and automatically generated), and convert them to srt format
python implementation
Usage example
ytsubtitles ZXD4X6INh7w --lang=it > out.srt
Acknowledgements
- Original js implementation: https://github.com/syzer/youtube-captions-scraper/blob/master/src/index.js
- SRT conversion: http://code.activestate.com/recipes/577459-convert-a-youtube-transcript-in-srt-subtitle/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ytsubtitles-0.1.1.tar.gz
(3.6 kB
view details)
File details
Details for the file ytsubtitles-0.1.1.tar.gz
.
File metadata
- Download URL: ytsubtitles-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce7230347790d4a6c2f498a9cbdda9cb42caafa68c885b7bec4be334f4da961a |
|
MD5 | 96c888e8770a8e434d54ba3f1222c5ed |
|
BLAKE2b-256 | f938145787ec814a3d7a64c02afebd4b786d43c319f45d7a7c2bf3a07643fa39 |