Skip to main content

A CLI app to download videos using yt-dlp

Project description

Video Downloader CLI

A command-line application for downloading videos and audio using yt-dlp. This tool supports multiple formats and resolutions, allowing you to save videos and extract audio easily.

Features

  • Download videos in various resolutions (1080p, 480p)
  • Extract audio and save it as MP3
  • Simple command-line interface with rich prompts
  • Uses yt-dlp for powerful video downloading capabilities
  • FFmpeg integration for audio processing

Prerequisites

Before using this application, ensure you have the following installed:

  • Python 3.12 or later
  • FFmpeg (used for audio extraction)
    • Ubuntu/Debian:
      sudo apt install ffmpeg
      
    • macOS (using Homebrew):
      brew install ffmpeg
      
    • Windows: Download the FFmpeg binaries from FFmpeg's official website and add the path to your system's PATH variable.

Installation

You can install this package via pip:

pip install your_package_name

Usage

To use the Video Downloader CLI, simply run

ytdl

You will be prompted to enter the video URL and select the desired format. The available options are: 1080p: Download the best video with a maximum height of 1080 pixels. 480p: Download the best video with a maximum height of 480 pixels. Mp3: Extract the best audio and save it as an MP3 file.

Example

Run the application:

ytdl

Enter the video URL when prompted. Select the desired resolution or audio option. The video or audio file will be downloaded to the current directory.

License

This project is licensed under the MIT License - see the LICENSE file for details. Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any suggestions or improvements.

Contact

For questions or feedback, feel free to reach out:

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

grabyt-0.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

grabyt-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file grabyt-0.1.1.tar.gz.

File metadata

  • Download URL: grabyt-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-45-generic

File hashes

Hashes for grabyt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 74ce79f69f46a8b5841dd6f6922e963dee73355156ba7000dfe2b233bc71e112
MD5 e216b0d38432a85ecd87ffae0cf82241
BLAKE2b-256 5744efdadf3edba4240a721095fe375b49b021d356b4fd157f8dedc40623552d

See more details on using hashes here.

File details

Details for the file grabyt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: grabyt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-45-generic

File hashes

Hashes for grabyt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1128f9dc214621f69a0349c6a1391d000b17b8b50bef895ec0f496281c5cb2d4
MD5 b2e05bb4589b9127de401b5ffecec56d
BLAKE2b-256 b35bf6ba2f3729c211060b57de80e569874bda31084e3d031ca6ec0969131b52

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