Skip to main content

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.

Source Distribution

yousub-0.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yousub-0.0.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file yousub-0.0.1.tar.gz.

File metadata

  • Download URL: yousub-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for yousub-0.0.1.tar.gz
Algorithm Hash digest
SHA256 caf1c1e2cac62c1a1ee37f8ab5751df0b016d1ea6cb5d5a7e117b6391cf4d23d
MD5 05ba52ca651d4103cf0bf5b4dbb1c655
BLAKE2b-256 f6d291669aaafeea9f1f445ea073096eb75e8d0fb4413299025ab40b3b725eb9

See more details on using hashes here.

File details

Details for the file yousub-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: yousub-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for yousub-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17db6cfedf73b69947b794e30962e08f0616ca8a6194ad67d5c65211897ae3a4
MD5 66206be86fcfdcf7bec87b7e2a61d37e
BLAKE2b-256 6dcc1108e9d220b1c209b976f1c2a2b8b930240c57a1f1ee331f9441d2be5c78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page