Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Download subtitles from YouTube

Project description

yousub

A python CLI tool to download subtitles from YouTube, .srt, .xml, .json format support.

install

python setup.py install

usage

# show all available subtitle languages, --show|-s
yousub --show https://www.youtube.com/watch?v=WBqnzn77MEE

# download a specified language, if -lang|-l not specified, download them all
yousub -lang en https://www.youtube.com/watch?v=WBqnzn77MEE

# -d|--directory to set output directory, -f|--filetype to set output format[xml, json, srt(default)]

# example: download json format Chinese subtitle from a url, and put it into 'subtitle' directory
yousub -l zh-CN -d subtitle -f json https://www.youtube.com/watch?v=WBqnzn77MEE

help

yousub --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for yousub, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size yousub-0.0.1-py3-none-any.whl (5.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size yousub-0.0.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page