Skip to main content

A script to download and convert YouTube videos to either video or audio format.

Project description

YouTube Video Downloader and Converter

This script downloads and converts YouTube videos to either video or audio format. It can download videos from a specific channel or a single video URL.

Requirements

  1. ffmpeg to be installed on the system.
sudo apt install ffmpeg
  1. If desired to download all of the videos from a specified channel then YouTube Data API v3 key must be created.

Installation

You can install the package using pip:

pip install youtubetogo

Command Line Usage

python main.py -u <video_url> [-a]
python main.py -c <channel_id> [-a]

Arguments

  • -a, --audio: Convert videos to audio
  • -u, --url: URL of the video to download and convert
  • -c, --channel: Channel ID to download and convert videos from

Deploy

    pip install setuptools wheel twine
    python setup.py sdist bdist_wheel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

youtubetogo-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file youtubetogo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: youtubetogo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for youtubetogo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43735d5652bbdb7bf733f5945140d858eb5496d8747db2a8edc75c0335d48ba4
MD5 a4bc182566e962d1af9faaa4f20cda6d
BLAKE2b-256 c34e5c45afb9e1b45c5642509b3b85d3f87ea8e909cb55968a5839abbaac05ca

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