This is a simple command-line tool that allows you to download YouTube videos and save them to your local machine.
- Clone this repository to your local machine:
git clone https://github.com/Alex19578/youtube-video-downloader.git
- Navigate to the project directory:
cd youtube-video-downloader
- Install the required dependencies using pip:
pip install -r requirements.txt
- Run the downloader script and provide the YouTube video URL as an argument:
python downloader.py <video_url>
Replace <video_url>
with the actual URL of the YouTube video you want to download.
- The video will be downloaded and saved in the current directory.
To download a YouTube video, run the following command:
python downloader.py https://www.youtube.com/watch?v=VIDEO_ID
Replace VIDEO_ID
with the actual ID of the YouTube video you want to download.
-
pytube
You can install the dependencies by running the following command:
pip install -r requirements.txt
This project is licensed under the MIT License. See the LICENSE file for more details.
Make sure to replace <video_url> with the appropriate placeholder in the "Usage" section, and update the "Example" section with the appropriate YouTube video URL placeholder.