Skip to main content

YouTube Transcript CLI

License

Welcome to the YouTube Transcript CLI! This tool allows you to fetch and display transcripts of YouTube videos right from your terminal. Whether you're a developer, researcher, or just curious, this tool has got you covered!

Features

  • Fetch Transcripts: Get transcripts for any YouTube video.
  • Multiple Languages: Specify your preferred language for the transcript.
  • Save to File: Save the transcript to a file for later use.
  • No Print Option: Fetch transcripts without printing them to the terminal.

Installation

To install the YouTube Transcript CLI, simply run:

pip install youtube-transcript-cli

Usage

Once installed, you can use the cap command to fetch transcripts. Here are some examples:

Fetch and Print Transcript

cap https://www.youtube.com/watch?v=Y-KztRvRyl0

Fetch and Save Transcript to a File

cap https://www.youtube.com/watch?v=Y-KztRvRyl0 --save transcript.txt

Fetch Transcript in a Different Language

cap https://www.youtube.com/watch?v=Y-KztRvRyl0 --languages es

Fetch Transcript Without Printing to Terminal

cap https://www.youtube.com/watch?v=Y-KztRvRyl0 --save transcript.txt --no-print

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Made with ❤️ by NickMystic (https://github.com/ghostofpokemon)

Metadata

Release files for youtube-transcript-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for youtube-transcript-cli 0.1.0
File Size Uploaded Provenance
youtube_transcript_cli-0.1.0.tar.gz 3.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for youtube-transcript-cli 0.1.0
File Interpreter ABI Platform
youtube_transcript_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / youtube_transcript_cli-0.1.0.tar.gz

Download URL youtube_transcript_cli-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ccf24a398b864b44a70942ec088f4a33047df7707592fe31e1cfc782b6ff0c16
BLAKE2b-256 checksum
How to use checksums
db4a8baee60757ffff14df7e15577e28c354a84d608e7a2197a394af3320566d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / youtube_transcript_cli-0.1.0-py3-none-any.whl

Download URL youtube_transcript_cli-0.1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2de604028d266f70a007230771c35672f80607210a680da827dccfd428a7a53
BLAKE2b-256 checksum
How to use checksums
7b18e132acad397db7db5c0a9c733cda3d30bca3fa70be2ad656d8efc2d72ada
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Security for youtube-transcript-cli 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page