# drmrinal/yt-downloader-by-dr-mkr architecture

> Architecture diagram of the GitHub repository drmrinal/yt-downloader-by-dr-mkr, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/drmrinal/yt-downloader-by-dr-mkr
- Repository: https://github.com/drmrinal/yt-downloader-by-dr-mkr

## Overview

This is a local Windows GUI for downloading YouTube audio, video, and playlists. Users enter links in one of two standalone apps: the standard downloader supports audio/video, while the playlist app adds playlist handling and preview. Both use yt-dlp and save downloads under YouTube_Downloads; FFmpeg is an optional processing dependency. The excerpts show GUI setup and playlist preview, but omit much of each download implementation, so download-flow links rely on README claims.

Main entry points: [`yt-downloader.py`](https://github.com/drmrinal/yt-downloader-by-dr-mkr/blob/main/yt-downloader.py) (Audio Video GUI), [`yt-playlist-downloader.py`](https://github.com/drmrinal/yt-downloader-by-dr-mkr/blob/main/yt-playlist-downloader.py) (Playlist GUI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_apps["Downloader Apps"]
  node_standard["Audio Video GUI<br/>[yt-downloader.py]"]
  node_playlist["Playlist GUI"]
end

subgraph group_integrations["Download Integrations"]
  node_ytdlp["yt-dlp"]
  node_youtube["YouTube"]
  node_ffmpeg["FFmpeg"]
end

subgraph group_results["Local Results"]
  node_downloads["Download Folders"]
end

node_user(("User"))

node_user -->|"enters links"| node_standard
node_user -->|"enters links"| node_playlist
node_standard -->|"downloads with"| node_ytdlp
node_playlist -->|"downloads with"| node_ytdlp
node_ytdlp -->|"retrieves media"| node_youtube
node_standard -->|"saves media"| node_downloads
node_playlist -->|"saves media"| node_downloads
node_standard -.->|"processes media"| node_ffmpeg
node_playlist -.->|"processes media"| node_ffmpeg

click node_standard "https://github.com/drmrinal/yt-downloader-by-dr-mkr/blob/main/yt-downloader.py"
click node_playlist "https://github.com/drmrinal/yt-downloader-by-dr-mkr/blob/main/yt-playlist-downloader.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_standard,node_playlist,node_user toneBlue
class node_ytdlp,node_youtube,node_ffmpeg toneAmber
class node_downloads toneMint
```

## Components

### Downloader Apps

- [Audio Video GUI](https://github.com/drmrinal/yt-downloader-by-dr-mkr/blob/main/yt-downloader.py): `yt-downloader.py`
- [Playlist GUI](https://github.com/drmrinal/yt-downloader-by-dr-mkr/blob/main/yt-playlist-downloader.py): `yt-playlist-downloader.py`

### Download Integrations

- **yt-dlp**
- **YouTube**
- **FFmpeg**

### Local Results

- **Download Folders**

### Other components

- **User**

## Connections

- User → Audio Video GUI: enters links (evidence: `README.md`)
- User → Playlist GUI: enters links (evidence: `README.md`)
- Audio Video GUI → yt-dlp: downloads with (evidence: `README.md`)
- Playlist GUI → yt-dlp: downloads with (evidence: `README.md`)
- yt-dlp → YouTube: retrieves media (evidence: `README.md`)
- Audio Video GUI → Download Folders: saves media (evidence: `README.md`)
- Playlist GUI → Download Folders: saves media (evidence: `README.md`)
- Audio Video GUI → FFmpeg: processes media (evidence: `README.md`)
- Playlist GUI → FFmpeg: processes media (evidence: `README.md`)
