A simple web application to download YouTube videos in different resolutions. Built with Python, Flask, and pytube
.
- Input a YouTube video URL to get available download options.
- Display the video's thumbnail.
- Choose from different video resolutions to download.
- Python 3.x
- Flask
- pytube
-
Clone the repository:
git clone https://github.com/iam-neo/youtube-video-downloader.git cd youtube-video-downloader
-
Create and activate a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required packages:
pip install flask pytube
-
Run the Flask application:
python app.py
-
Open your web browser and navigate to http://127.0.0.1:5000/.
-
Enter a YouTube video URL and submit the form.
-
View the video's thumbnail and select a video resolution to download.
youtube-video-downloader/
│
├── app.py
├── templates/
│ └── index.html
└── README.md
app.py
: The main Flask application file.templates/index.html
: The HTML template for the web interface.README.md
: This file.
Contributions are welcome! Please feel free to submit a pull request or open an issue if you have any suggestions or improvements.
This project is licensed under the MIT License. See the LICENSE file for details.