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>" -a --mp3
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.
  • --mp3 converts audio output to 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.2.tar.gz (19.7 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.2-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file pyutube-1.6.2.tar.gz.

File metadata

  • Download URL: pyutube-1.6.2.tar.gz
  • Upload date:
  • Size: 19.7 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.2.tar.gz
Algorithm Hash digest
SHA256 40b82f70f4ade6e9b8a707a9e21545596bcb8d21955c6c3b6b0e5f53478be334
MD5 91f43dc5c064b6cc1b585dcb1d0f4677
BLAKE2b-256 d632e3317065c2b1992a6ffc67e0fd035bf349d042dd056f4d2876cb31b61e1d

See more details on using hashes here.

File details

Details for the file pyutube-1.6.2-py3-none-any.whl.

File metadata

  • Download URL: pyutube-1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 25.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 39f9bf04eb807c7588e2fa06ec74ef171b2c4e52941115c38a13dbb3b35bd715
MD5 95f25e790be7fba3794f893f34edbad4
BLAKE2b-256 304bad7b8a67c23490e85e1ec3b93c9fa53b7ff8b2941d7b41e5b6b92b6b02df

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