This Python script allows you to download all the videos in a YouTube playlist at once. It uses the pytubefix
library to download videos.
Warning
This script is provided as-is, and the user assumes all responsibility for its usage. Make sure to comply with YouTube terms of service and respect the rights and privacy of others while using this script.
- Python 3.x installed on your system.
- Installing the pytube library. You can install it via pip using the following command:
pip install pytubefix
├── src/
│ ├── helpers/
│ │ └── functions.py
│ └── app.py
├── .gitattributes
├── .gitignore
├── LICENSE
└── README.md
- Clone the repository: Clone the repository where the script is hosted to your local environment using the git clone command. For example:
git clone https://github.com/vilelacc/ytpld.git
- Navigate to directory: Use the terminal or command prompt to navigate to the project directory where the script is located.
- Run the script: Run the Python script by typing the following command:
python app.py
- Enter playlist link: The script will ask you to enter the link of the YouTube playlist you want to download. Copy and paste the playlist link and press Enter.
- Download in progress: The script will begin downloading the playlist videos to your operating system's default downloads directory.
- Track progress: You'll see a message indicating which video is currently downloading.
- Check the download directory: After the download is complete, check the default download directory for your operating system. The videos will be saved in a folder with the name of the playlist.