Skip to main content

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:

  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.

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

pytubex_yt-1.1.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytubex_yt-1.1.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

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

Hashes for pytubex_yt-1.1.1.tar.gz
Algorithm Hash digest
SHA256 364f8f369c47f01c3ce596bf8557a88226494bae0540deec003fcaa8482574dd
MD5 ffcae984c672146e59ed5125d2a8badc
BLAKE2b-256 632bf839554b99a0fd73827fe7bcfbf51d683b0eff2a3160886e510af122aa4d

See more details on using hashes here.

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

Hashes for pytubex_yt-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91ed761044ddaeb349d7bcf026154be6c7cdb2792df1ade755b0e5ba1abdc3df
MD5 06addc8dcc4f699d649e2fe9645030b9
BLAKE2b-256 cef40cf87ada0575ecc1bec5b6db6ddf8c1aba4b04737c0dafa7a4fa62d2b99e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page