YD (YouTube Downloader) is a Python script that allows you to easily download videos and audio from YouTube. It provides a command-line interface (CLI) for interacting with the script and supports various video formats and quality options.
- Download videos and audio from YouTube
- Supports multiple video formats and quality options
- Simple and intuitive command-line interface (CLI)
- Python 3.6 or above
- Install the required dependencies by running the following command: pip install -r requirements.txt
-
Clone the repository or download the project files.
-
Open a terminal or command prompt and navigate to the project directory.
-
Run the following command to start the script: python yd.py
-
The script will prompt you to enter the URL of the YouTube video you want to download.
-
After entering the URL, the script will provide a list of available formats and quality options for the video.
-
Choose the desired format and quality by entering the corresponding number.
-
The script will start the download process and save the video or audio file to the current directory.
-
The downloaded file will be named based on the video title or video ID.
-
Repeat the process to download more videos or audio.
This project is licensed under the MIT License. See the LICENSE file for details.
- pytube - Python library for downloading YouTube videos.
Contributions are welcome! If you have any suggestions, improvements, or bug fixes, please open an issue or submit a pull request.