A simple tool for downloading Youtube videos using yt-dlp
. This Python script allows you to download the best available video and audio formar for a given Youtube URL.
- Python 3.7 or higher.
- Clone this repository:
git clone https://github.com/Alextc35/youtube-downloader.git
- Navigate to the project directory:
dir youtube-downloader
- Create and activate a virtual environment:
python -m venv venv
.\venv\Scripts\activate
- Install the dependencies:
pip install -r requirements.txt
- Clone this repository:
git clone https://github.com/Alextc35/youtube-downloader.git
- Navigate to the project directory:
cd youtube-downloader
- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate
- Install the dependencies:
pip install -r requirements.txt
To simplify usage, I have generated an executable that you can download directly.
- Download the file:
The executable file is available in the
dist/yt_download
section. - Extract the file.
- Run the file:
- On Windows: Double-click on
yt_download.exe
. - On macOS and Linux: Open a terminal and navigate to the directory containing the file. Then, execute:
- On Windows: Double-click on
chmod +x yt_download
./yt_download
- Run the script: With the virtual environment activated, run the script with:
python yt_download.py
- Enter the YouTube video URL you want to download when prompted.
- Provide the destination path where the video will be saved.
Introduce la URL del vídeo de YouTube (debe empezar con https://): https://www.youtube.com/watch?v=dQw4w9WgXcQ
Introduce la ruta de destino para guardar el vídeo: /path/to/your/folder
This project is licensed under the MIT License.
Contributions are welcome. If you would like to contribute to this project, please open an issue or submit a pull request with your improvements.
@alextc35