Skip to main content

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! ⭐

Ask in DeepWiki Version Downloads Downloads per Month Downloads per Week

Pyutube is a small CLI for downloading YouTube videos, shorts, audio, and playlists.

Pyutube

[!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:

  • URL is required.
  • PATH is optional and defaults to the current directory.
  • -a downloads audio only (as MP3).
  • -f downloads video only.
  • Playlist URLs first show a selection menu so you can choose specific items or download all.
  • Anything after -- is forwarded to yt-dlp.

Check the CLI help:

pyutube --help
python -m pyutube --help

Docs

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)

Uploaded Source

Built Distribution

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

pyutube-1.6.21-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

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

Hashes for pyutube-1.6.21.tar.gz
Algorithm Hash digest
SHA256 cb85e4c37709489455b950c2ac49603c102f39dc540e178ee18e23671595ddc6
MD5 d2c9280e2ed9f2ea712e4bab74c89502
BLAKE2b-256 3d7f3913e13fbf5c9180b399a591af0b568548219d3c181e8d2bceffc004a66f

See more details on using hashes here.

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

Hashes for pyutube-1.6.21-py3-none-any.whl
Algorithm Hash digest
SHA256 56fb20cf6ac2cb2fe89082a9e41b4acce280eb952214eb26b5f7155796466aca
MD5 028a4d651b5175a38338ee5ad71f18f7
BLAKE2b-256 e655c5d073df3b815d354dd263c6732e57704ee250dcc7f304aa8fc552b2b733

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