Custom YouTube audio/video downloader based on yt-dlp.
Project description
Youtube file downloader
Do you have an uncle that keeps asking you to download him yt music and is sending you links on WhatsApp? This project is made for you (and me)! It allows you to specify what you want to download in preferred format (mp3, mp4, m4a) by coping your uncle's message from WhatsApp and putting it in json - extraction of the link is made for you (since WhatsApp has it's funny format)!
Install dependencies and run the program
uv run pyyt-dl download.json
You should add a json file path as the argument to the program, for e.x:
{
"download_instances": [
{
"urls": {
"raw_urls": [
"https://www.youtube.com/watch?v=RTWASeMJZhQ&pp=ygUZc3luIG1vamVnbyB0YXR5IGRld2Vsb3BlctIHCQm-CgGHKiGM7w%3D%3D",
"https://www.youtube.com/watch?v=YiwZ3DQOr-I"
],
"whatsapp": {
"messages": [
"[8.10, 10:16] Blue: https://www.youtube.com/watch?v=pRlzEDooJbk&pp=ygUccG9sb25leiBkbGEgcG9jesSFdGt1asSFY3ljaA%3D%3D"
],
"names": ["Blue"]
}
},
"output_path": "~/Desktop/xxx",
"format": "mp4"
}
]
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyyt_downloader-1.0.0.dev1.tar.gz.
File metadata
- Download URL: pyyt_downloader-1.0.0.dev1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
501a11d6978b929f998bdbc61a1e5a08aa7bf0940118a747ac244090369ed3ad
|
|
| MD5 |
271995d4ababad3cff92ce0b329bd20f
|
|
| BLAKE2b-256 |
9ac7702438611b90ae5e8678648ac5544a2c4df863a1f8b40abd643a974f265e
|
File details
Details for the file pyyt_downloader-1.0.0.dev1-py3-none-any.whl.
File metadata
- Download URL: pyyt_downloader-1.0.0.dev1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5393951f00f7da0a20bc48d4889db92659a0dd73d15855421b0ecaed45bbb26
|
|
| MD5 |
67ced5362628d12b00e109b9d0811501
|
|
| BLAKE2b-256 |
b01585442d7e74bd752bbf2b9946b528b038ce2577665aae75e6d0a419d26d79
|