Skip to content

BalajiPython/youtube_downloader-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Downloader

A FastAPI-based web application that allows users to download YouTube videos in both video and audio formats.

Features

  • Download YouTube videos in MP4 format
  • Download audio in MP3 format
  • Simple and clean user interface
  • Fast and efficient downloads

Requirements

  • Python 3.8 or higher
  • FFmpeg (for audio conversion)

Installation

  1. Clone the repository:
git clone <your-repository-url>
cd youtube_downloader
  1. Create a virtual environment and activate it:
python -m venv venv
# On Windows
venv\Scripts\activate
# On Linux/Mac
source venv/bin/activate
  1. Install the required packages:
pip install -r requirements.txt
  1. Install FFmpeg:

Running the Application

  1. Start the server:
uvicorn main:app --host 0.0.0.0 --port 8000
  1. Open your browser and navigate to:
http://localhost:8000

Deployment

For production deployment, it's recommended to:

  1. Use a production-grade ASGI server like Gunicorn
  2. Set up a reverse proxy (like Nginx)
  3. Use environment variables for configuration
  4. Implement proper security measures

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published