Skip to main content

No project description provided

Project description

YouTube Downloader CLI

Description

This is a command-line tool to download YouTube videos from the Terminal, written under Pytube.

it is cross-platform (Windows, Mac, Linux) and can be used in any terminal.

Note: This project is still in development.

Inspiration

This project was inspired by PyUtube by omer73364 🤩

Features

  • User-friendly CLI interface.
  • Download a single YouTube in video format or audio.
  • Download YouTube shorts.

TODO

  • Publish on PyPI.
  • Support downloading sounds (mp3 format).
  • Supports all available video resolutions.
  • Support shorts.
  • Supports downloading playlists.
  • Playlists organized into folders by their names.
  • Add convert videos into mp3 format.
  • GUI app (nah! Not yet).
  • Any features that you/I can think of.

Installation

Method 1: Using Pip

pip install pyutube

Method 2: Building the project from source

Clone the repository:

git clone https://github.com/Hetari/pyutube.git

Change to the directory:

cd pyutube

Install the requirements:

pip install -r requirements.txt

Build the package:

python setup.py sdist bdist_wheel

Install the package via pip:

pip3 install dist/*

Warning:

In some cases, the package will not install. You may have to add the flag -H into the pip command. and if this case, you can use pip3 install -H dist/* instead of pip3 install dist/*

and if this not working, and you are on Linux or Mac, try the command with sudo.

Then you can use it in your Terminal.

Usage

Pyutube is very easy to use, just type pyutube on your terminal or cmd then you can use it.

Here examples of uses:

Note: [the_download_path] is an optional input, the default value is the terminal path.

- Download videos or audios by 1 step:

  1. pyutube short_link [the_download_path]

- Download videos or audios by 2 or 3 steps:

  1. pyutube video_link [the_download_path].
  2. Choose video or audio format. If you choose an audio format, it will download it immediately 🔥.
  3. Choose the resolution if it a video you want to download.






Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. please follow the contributing guidelines

License

This project is licensed under the MIT License.

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

pyutube-1.1.3.tar.gz (11.0 kB view hashes)

Uploaded Source

Built Distribution

pyutube-1.1.3-py3-none-any.whl (12.4 kB view hashes)

Uploaded Python 3

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