A sleek, holographic‑styled web interface to download YouTube videos and audio using Flask & yt-dlp.
▶️ Video & Audio Download: Download YouTube videos (MP4) or extract audio (MP3).- ⚙️ Quality Control: Choose video resolution (144p–1080p) or audio bitrate (192k–320k).
- 📃 Playlist & Batch Support: Easily extendable for playlists (YT-DLP backing).
- 📂 Custom Output Folder: All downloads saved under the
downloads/directory. - 🔄 Progress Handling: Visual progress in terminal; robust error handling.
- 🌐 Responsive UI: Futuristic CSS animation & mobile‑friendly design.
video_downloader_flask/
├── app.py # Flask application logic (download endpoint)
├── requirements.txt # Python dependencies
├── templates/
│ └── index.html # Main UI template
├── static/
│ ├── style.css # Holographic styling and animations
└── downloads/ # Auto-created output folder for downloads
- Python 3.11+
pipffmpeginstalled and in your PATH (or updateffmpeg_locationinapp.py)
-
Clone the repo:
git clone https://github.com/your-username/video_downloader_flask.git cd video_downloader_flask -
Install dependencies:
pip install -r requirements.txt
-
Ensure
ffmpegis available (or adjustffmpeg_locationinapp.py).
-
Start the Flask server:
python app.py
-
Open in browser:
Navigate to
http://127.0.0.1:5000/to access the UI. -
Enter a YouTube URL, select format (MP4 or MP3), choose quality or bitrate, then click Download.
| Flag | Description | Default |
|---|---|---|
--url |
YouTube video URL | (required) |
--format |
mp4 or mp3 |
mp4 |
--quality |
Video height (e.g., 720, 1080, best) |
best |
--audio_bitrate |
Audio bitrate in kbps (192,256,320) |
192 (selectable) |
Note: These map to form fields in the web UI.
Distributed under the MIT License. See LICENSE for details.
OMKAR SAWANT
Made with ❤️ by OMI-KALIX.
Feel free to contribute! Pull requests and issues are welcome. #This project only for Educational purpose