Skip to main content

A CLI tool to fetch and display YouTube video transcripts.

Project description

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)

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

youtube_transcript_cli-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

youtube_transcript_cli-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file youtube_transcript_cli-0.1.0.tar.gz.

File metadata

File hashes

Hashes for youtube_transcript_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ccf24a398b864b44a70942ec088f4a33047df7707592fe31e1cfc782b6ff0c16
MD5 b62816f7d515bcb78327a87d8876d812
BLAKE2b-256 db4a8baee60757ffff14df7e15577e28c354a84d608e7a2197a394af3320566d

See more details on using hashes here.

File details

Details for the file youtube_transcript_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for youtube_transcript_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2de604028d266f70a007230771c35672f80607210a680da827dccfd428a7a53
MD5 0a9426ef0ae33ed650d610d6b0d5b77f
BLAKE2b-256 7b18e132acad397db7db5c0a9c733cda3d30bca3fa70be2ad656d8efc2d72ada

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