Metadata-Version: 2.4
Name: pyyt-downloader
Version: 1.0.0.dev1
Summary:  Custom YouTube audio/video downloader based on yt-dlp.
Author: Domofold
License: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic==2.12.5
Requires-Dist: yt-dlp==2026.3.17
Requires-Dist: types-yt-dlp==2026.3.17.20260318
Dynamic: license-file

## 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
```bash
uv run pyyt-dl download.json
```

You should add a json file path as the argument to the program, for e.x:
```json
{
  "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.
