Skip to main content

Command-line program to download closed captions (subtitles) of videos from YouTube.com

Project description

Yt-cc-dl

🚀 Command-line program to download cleaned up closed captions (subtitles) of channels from YouTube.com in JSON format.

Supported Python versions PEP8

Requirements

⬇️ Installation

pip install -U yt-cc-dl

⌨️ Usage

➜ yt-cc-dl --help

usage: yt-cc-dl [-h] [-o OUTPUT_DIR] [-l LANGUAGES] [-i INDENT] [-r] [-d]
              channel [channel ...]

positional arguments:
  channel               Single or multiple YouTube channel URL(s)

options:
  -h, --help            show this help message and exit
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Output directory name or path (default: channel name)
  -l LANGUAGES, --languages LANGUAGES
                        Comma-separated list of languages to download (can be
                        regex). The list may contain "all" for all available
                        languages. The language can be prefixed with a "-" to
                        exclude it from the requested languages (e.g.,
                        all,-live_chat)
  -i INDENT, --indent INDENT
                        Indentation size in the output JSON files (None by
                        default)
  -r, --rich-data       Add a unique index and include the title and thumbnail
                        in every subtitle entry (useful for Meilisearch)
  -d, --disable-multithreading
                        Disable multithreading

📝 Todo

  • Enable downloading the cc of a single video.

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

yt_cc_dl-0.1.5.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

yt_cc_dl-0.1.5-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file yt_cc_dl-0.1.5.tar.gz.

File metadata

  • Download URL: yt_cc_dl-0.1.5.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.8 Darwin/23.2.0

File hashes

Hashes for yt_cc_dl-0.1.5.tar.gz
Algorithm Hash digest
SHA256 74fb69ebca4993e66dc384a41d6426ed9b0fa3f4ac9e3b54f642d39c06f44001
MD5 a33093d2abdcdd6adbf6f60ae642e210
BLAKE2b-256 57dff2aae7cc74d9f3a0b5c772a11fd2a7ebcd162fc8270200268217045c6c8a

See more details on using hashes here.

File details

Details for the file yt_cc_dl-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: yt_cc_dl-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.8 Darwin/23.2.0

File hashes

Hashes for yt_cc_dl-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1f8c8debe2a62fac78f2a162489a8e6e7132dc73cc7c1843c40452fca07e1517
MD5 89e3d51eb353472028677f38775e7e1e
BLAKE2b-256 726d46746b5064078361d740546f1e15a635dcb4faa74aeceaf7964e19776463

See more details on using hashes here.

Supported by

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