Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brunoooost/yt-downloader

Script to download any video with the URL
https://github.com/brunoooost/yt-downloader

download python python3 url youtube

Last synced: 10 days ago
JSON representation

Script to download any video with the URL

Awesome Lists containing this project

README

        

# YouTube Video Downloader by bst04
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fbrunoooost%2Fyt-downloader&count_bg=%236EBE0B&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=views&edge_flat=false)](https://hits.seeyoufarm.com)

This is a simple Python script for downloading YouTube videos using the `yt-dlp` library. If you encounter any issues, I'd appreciate your feedback to help improve them. Also if you like some payloads you can give me a star.

## Requirements

- Python 3.x
- `yt-dlp` library

## Installation
1. **Clone the repository**
2. **Navigate to your project directory:**
```bash
cd path/to/your/project
```
3. **Create a virtual environment (optional):**
```bash
python3 -m venv venv
```
4. **Activate the virtual environment:**
- On **MacOs** or **Linux**:
```bash
source venv/bin/activate
```
- On **Windows**:
```bash
venv\Scripts\activate
```
5. **Install ```py-dlp```:**
```bash
pip install yt-dlp
```
6.**Run the script:**
```bash
python nameofthescript.py
```
- Enter the YouTube video URL when prompted and wait for the download to complete.

## Features
- Downloads the highest resolution available for the given YouTube video URL.
- Simple and easy-to-use interface.
- Handles exceptions gracefully and provides meaningful error messages.

## Troubleshooting

- Ensure you have a stable internet connection.
- Verify that the YouTube URL is correctly formatted and accessible.
- If you encounter any issues, check that you are using the latest version of yt-dlp.