A CLI tool to fetch and display YouTube video transcripts.
Project description
YouTube Transcript CLI
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file youtube_transcript_cli-0.1.0.tar.gz
.
File metadata
- Download URL: youtube_transcript_cli-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf24a398b864b44a70942ec088f4a33047df7707592fe31e1cfc782b6ff0c16 |
|
MD5 | b62816f7d515bcb78327a87d8876d812 |
|
BLAKE2b-256 | db4a8baee60757ffff14df7e15577e28c354a84d608e7a2197a394af3320566d |
File details
Details for the file youtube_transcript_cli-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: youtube_transcript_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2de604028d266f70a007230771c35672f80607210a680da827dccfd428a7a53 |
|
MD5 | 0a9426ef0ae33ed650d610d6b0d5b77f |
|
BLAKE2b-256 | 7b18e132acad397db7db5c0a9c733cda3d30bca3fa70be2ad656d8efc2d72ada |