A CLI-based YouTube video & audio downloader
Project description
PyTubeX - YouTube Video & Audio Downloader
Overview
PyTubeX is a command-line tool for downloading YouTube videos and audio files with high quality. It uses yt-dlp for efficient downloading and supports MP3 and MP4 formats.
Features
- Download YouTube videos in MP4 format.
- Extract audio in high-quality MP3 format.
- Automatic folder organization.
- Simple and intuitive CLI interface.
- Saves download history.
Installation
You can install PyTubeX directly from PyPI:
pip install pytubex-yt
Or, clone the repository:
git clone https://github.com/jfrzz/PyTubeX.git
Navigate into the folder:
cd PyTubeX
Ensure you have Python installed, then manually install dependencies:
pip install colorama requests yt_dlp
Usage
Run the script:
python -m pytubex
Options:
- Download Video (MP4) - Enter a YouTube URL to download as MP4.
- Download Audio (MP3) - Enter a YouTube URL to download as MP3.
- View Download History - Displays previously downloaded files.
- Exit - Closes the program.
Folder Structure
PyTubeX/
│── downloads/
│ ├── MP3/
│ ├── MP4/
│── pytubex.py
│── history.txt
│── README.md
Dependencies
- Python 3.6+
yt-dlprequestscolorama
License
This project is licensed under the MIT License.
Author
Developed by @JfrzxCode.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytubex_yt-1.1.1.tar.gz.
File metadata
- Download URL: pytubex_yt-1.1.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
364f8f369c47f01c3ce596bf8557a88226494bae0540deec003fcaa8482574dd
|
|
| MD5 |
ffcae984c672146e59ed5125d2a8badc
|
|
| BLAKE2b-256 |
632bf839554b99a0fd73827fe7bcfbf51d683b0eff2a3160886e510af122aa4d
|
File details
Details for the file pytubex_yt-1.1.1-py3-none-any.whl.
File metadata
- Download URL: pytubex_yt-1.1.1-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91ed761044ddaeb349d7bcf026154be6c7cdb2792df1ade755b0e5ba1abdc3df
|
|
| MD5 |
06addc8dcc4f699d649e2fe9645030b9
|
|
| BLAKE2b-256 |
cef40cf87ada0575ecc1bec5b6db6ddf8c1aba4b04737c0dafa7a4fa62d2b99e
|