Awesome CLI to download YouTube videos (as video or audio)/shorts/playlists from the terminal
Project description
📹 Pyutube - The Simplest YouTube Downloader CLI
Enjoying my project? Please show your appreciation by starring it on GitHub! ⭐
Pyutube is a small CLI for downloading YouTube videos, shorts, audio, and playlists.
[!NOTE] Have a feature request or bug report? tell me
Install
pip install pyutube
For local development:
pip install -e ".[dev]"
Use
pyutube "<youtube-url>"
pyutube "<youtube-url>" "/path/to/save"
pyutube "<youtube-url>" -a
pyutube "<youtube-url>" -f
pyutube "<playlist-url>"
pyutube "<youtube-url>" -- --ignore-errors --write-info-json
Short version:
URLis required.PATHis optional and defaults to the current directory.-adownloads audio only (as MP3).-fdownloads video only.- Playlist URLs first show a selection menu so you can choose specific items or download all.
- Anything after
--is forwarded toyt-dlp.
Check the CLI help:
pyutube --help
python -m pyutube --help
Docs
- EXAMPLES.md for quick command examples.
- QUALITY.md for local checks.
- CONTRIBUTING.md for contribution rules.
License
MIT. See 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.
Source Distribution
pyutube-1.6.21.tar.gz
(19.6 kB
view details)
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
pyutube-1.6.21-py3-none-any.whl
(25.3 kB
view details)
File details
Details for the file pyutube-1.6.21.tar.gz.
File metadata
- Download URL: pyutube-1.6.21.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb85e4c37709489455b950c2ac49603c102f39dc540e178ee18e23671595ddc6
|
|
| MD5 |
d2c9280e2ed9f2ea712e4bab74c89502
|
|
| BLAKE2b-256 |
3d7f3913e13fbf5c9180b399a591af0b568548219d3c181e8d2bceffc004a66f
|
File details
Details for the file pyutube-1.6.21-py3-none-any.whl.
File metadata
- Download URL: pyutube-1.6.21-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56fb20cf6ac2cb2fe89082a9e41b4acce280eb952214eb26b5f7155796466aca
|
|
| MD5 |
028a4d651b5175a38338ee5ad71f18f7
|
|
| BLAKE2b-256 |
e655c5d073df3b815d354dd263c6732e57704ee250dcc7f304aa8fc552b2b733
|