Skip to main content

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:

  1. Download Video (MP4) - Enter a YouTube URL to download as MP4.
  2. Download Audio (MP3) - Enter a YouTube URL to download as MP3.
  3. View Download History - Displays previously downloaded files.
  4. Exit - Closes the program.

Folder Structure

PyTubeX/
│── downloads/
│   ├── MP3/
│   ├── MP4/
│── pytubex.py
│── history.txt
│── README.md

Dependencies

  • Python 3.6+
  • yt-dlp
  • requests
  • colorama

License

This project is licensed under the MIT License.

Author

Developed by @JfrzxCode.

Metadata

Release files for pytubex-yt 1.1.1

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

Source distribution (sdist)

Source distribution for pytubex-yt 1.1.1
File Size Uploaded
pytubex_yt-1.1.1.tar.gz 1.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytubex-yt 1.1.1
File Interpreter ABI Platform
pytubex_yt-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 kB

Release files / pytubex_yt-1.1.1.tar.gz

Download URL pytubex_yt-1.1.1.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
364f8f369c47f01c3ce596bf8557a88226494bae0540deec003fcaa8482574dd
BLAKE2b-256 checksum
How to use checksums
632bf839554b99a0fd73827fe7bcfbf51d683b0eff2a3160886e510af122aa4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / pytubex_yt-1.1.1-py3-none-any.whl

Download URL pytubex_yt-1.1.1-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91ed761044ddaeb349d7bcf026154be6c7cdb2792df1ade755b0e5ba1abdc3df
BLAKE2b-256 checksum
How to use checksums
cef40cf87ada0575ecc1bec5b6db6ddf8c1aba4b04737c0dafa7a4fa62d2b99e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

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