A simple Python-based YouTube video downloader that allows users to download videos or audio from YouTube. Also works with playlists.
- Download YouTube videos.
- Extract and download audio only.
Before running the project, make sure you have the following installed:
-
Python (>= 3.6):
The project is written in Python. You can download it from here. -
ffmpeg:
This project requiresffmpegfor processing audio and video formats. Follow the instructions below to install it on your system:-
Windows:
- Download
ffmpegfrom the official website: FFmpeg Downloads. - Extract the ZIP file and place it in a folder (e.g.,
C:\ffmpeg). - Add the
bindirectory to your system's PATH:- Right-click on "This PC" and select "Properties".
- Click on "Advanced system settings", then "Environment Variables".
- Under "System variables", find and select
Path, then click "Edit". - Add the path to the
bindirectory offfmpeg(e.g.,C:\ffmpeg\bin) and click "OK".
- Download
-
macOS:
- Install
Homebrewif you haven't already: Homebrew Website. - Run the following command in the terminal:
brew install ffmpeg
- Install
-
Linux:
- On Debian/Ubuntu-based systems, you can install
ffmpegusing:sudo apt update sudo apt install ffmpeg
- For other distributions, use the appropriate package manager for your system.
- On Debian/Ubuntu-based systems, you can install
-
-
Clone this repository to your local machine:
git clone https://github.com/chrisvobi/youtubeDownloader.git
-
Navigate to the project directory:
cd youtubeDownloader -
Install the required dependencies:
pip install -r requirements.txt
Run the script:
python main.pyContributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request. Ensure your code follows proper coding standards and includes comments where necessary.
This project is licensed under the MIT License. See the LICENSE file for details.
This tool is for personal and educational use only. Downloading copyrighted content from YouTube without permission is against YouTube's Terms of Service.