This Python script allows you to download YouTube videos directly to your computer. It's a handy tool for saving your favorite videos for offline viewing.
-
Requirements:
- Make sure you have Python installed on your system.
- Install the
pytube
library by runningpip install pytube
.
-
Running the Script:
- Open your terminal or command prompt.
- Navigate to the directory where the script is saved.
- Run the script using
python youtube_downloader.py
.
-
Instructions:
- When prompted, provide the following information:
- Save Path: Specify the directory where you want to save the video. If no path is provided, it will be saved on the desktop.
- YouTube Video Link: Paste the link of the YouTube video you want to download.
- Download Resolution: Choose the desired resolution (e.g., 480p, 720p, etc.). If not specified, the script will default to 480p.
- When prompted, provide the following information:
-
Downloaded Videos:
- The video will be downloaded to the specified path or the desktop.
- You'll see a success message once the download is complete.
That's it! Now you're ready to enjoy your favorite YouTube videos offline. ๐ฅ๐