Skip to main content

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


Download files

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

Source Distribution

pyyt_downloader-1.0.0.dev1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

pyyt_downloader-1.0.0.dev1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

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

Hashes for pyyt_downloader-1.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 501a11d6978b929f998bdbc61a1e5a08aa7bf0940118a747ac244090369ed3ad
MD5 271995d4ababad3cff92ce0b329bd20f
BLAKE2b-256 9ac7702438611b90ae5e8678648ac5544a2c4df863a1f8b40abd643a974f265e

See more details on using hashes here.

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

Hashes for pyyt_downloader-1.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5393951f00f7da0a20bc48d4889db92659a0dd73d15855421b0ecaed45bbb26
MD5 67ced5362628d12b00e109b9d0811501
BLAKE2b-256 b01585442d7e74bd752bbf2b9946b528b038ce2577665aae75e6d0a419d26d79

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