This script allows you to download either single YouTube videos or entire playlists.
- Python 3.x
- pytube
- Clone or download this repository.
- Install the required dependencies:
pip install pytube
- Run the script:
python youtube_downloader.py
- Enter the YouTube link of the video or playlist you want to download when prompted.
- Downloads single YouTube videos.
- Downloads entire YouTube playlists.
- The script prompts you to enter a YouTube link.
- It detects whether the link is for a single video or a playlist.
- For a single video, it downloads the highest quality available.
- For a playlist, it downloads all the videos in the playlist.
- Progress of each download is displayed.
python youtube_downloader.py
Enter YouTube Link: (Video or Playlist) <Enter your YouTube link here>
- The downloaded videos are saved in a new folder with the Playlist/Video title on your desktop by default.