https://github.com/dnth/ytdlp_gradio
https://github.com/dnth/ytdlp_gradio
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dnth/ytdlp_gradio
- Owner: dnth
- Created: 2025-03-01T05:21:15.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-01T05:48:45.000Z (3 months ago)
- Last Synced: 2025-03-01T06:22:49.710Z (3 months ago)
- Language: Python
- Size: 206 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YouTube Downloader with yt-dlp and Gradio
A simple web interface for downloading YouTube videos using yt-dlp.
## Features
- Download videos from YouTube and other supported platforms
- Select video quality/format
- Specify custom output directory
- Simple and intuitive user interface## Installation
### Using pixi
If you have [pixi](https://pixi.sh/) installed:
```bash
pixi install
```### Manual installation
1. Make sure you have Python 3.10 or newer installed
2. Install the required packages:```bash
pip install yt-dlp gradio
```## Usage
### Using pixi
```bash
pixi run start
```### Manual start
```bash
python -m ytdlp_gradio.app
```This will start a local web server, and you can access the interface by opening the provided URL in your browser (typically http://127.0.0.1:7860).
## How to Use
1. Enter a YouTube URL in the input field
2. Select the desired format from the dropdown menu
3. Optionally, specify an output directory (if left empty, files will be saved to a temporary directory)
4. Click the "Download" button
5. The path to the downloaded file will be displayed in the result box## Supported Formats
- `best`: Best quality (video+audio)
- `bestvideo+bestaudio`: Best video and best audio
- `bestvideo`: Best video only
- `bestaudio`: Best audio only
- `worst`: Worst quality (smallest file size)## License
MIT