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
- ffmpeg to be installed on the system.
sudo apt install ffmpeg
- If desired to download all of the videos from a specified channel then YouTube Data API v3 key must be created.
Installation
Install from pypi.org
pip install youtubetogo
Project
You can install the package using pip from the source directory:
``bash git clone https://github.com/kdcllc/youtubetogo
```bash
pip install .
Command Line Usage
youtubetogo -u <video_url> [-a]
# YouTube Data API v3 api key is required
# store the key in .env file use .env.sample file
youtubetogo -c <channel_id> [-a]
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 build twine
python -m build
twine upload dist/*
Metadata
Release files for youtubetogo 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| youtubetogo-0.1.3.tar.gz | 5.4 kB | Without provenance | Details for youtubetogo-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| youtubetogo-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for youtubetogo-0.1.3-py3-none-any.whl |
Total release size: 11.4 kB
Release files / youtubetogo-0.1.3.tar.gz
| Download URL | youtubetogo-0.1.3.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c33fee8d99a9398459ad7f4d8094dc9f8984a8530c88cf7717e5d3db30a8bc58
|
|
BLAKE2b-256 checksum How to use checksums |
9d1a22f150a179d4da5db2e8059f6c69a30117957c7b1b17d44b5d0236209ded
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / youtubetogo-0.1.3-py3-none-any.whl
| Download URL | youtubetogo-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1969f0a45e60711fe20a3d5be6884b2765d7279acc356bdfbade1ef05308c454
|
|
BLAKE2b-256 checksum How to use checksums |
0441e331da8929f3e136bf4a034531bf9e9b49fce7ce3bd7fe46b3ba849eb169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for youtubetogo 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.