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 usepip3 install -H dist/*
instead ofpip3 install dist/*
and if this not working, and you are on
Linux
orMac
, try the command withsudo
.
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 theterminal
path.
- Download videos or audios by 1
step:
pyutube short_link [the_download_path]
- Download videos or audios by 2
or 3
steps:
pyutube video_link [the_download_path]
.- Choose video or audio format. If you choose an audio format, it will download it immediately 🔥.
- 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
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.