Welcome to the YouTube Downloader! This simple Python script allows you to download YouTube videos and playlists easily.
- Download a single video by providing its URL.
- Download entire playlists by providing the playlist URL.
-
Clone the repository to your local machine:
git clone https://github.com/Whxismou1/PythonYTDownloader.git
-
Navigate to the project directory:
cd YouTube-Downloader
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the script:
python mainApp.py
-
Follow the on-screen instructions to download videos or playlists.
- videosDownloaded: This folder will be created (if not already exits) to store downloaded videos and playlists.
- mainApp.py: Main application file.
- requirements.txt: File containing project dependencies.
Note: In this case, only the pytube library is required. However, the
requirements.txt
file is created for ease in case of expanding the project in the future.
- pytube: A lightweight, dependency-free Python library to download YouTube videos.