A Python script for downloading YouTube videos using the pytube library.
- Download videos in various formats and qualities from YouTube.
- Support for downloading entire playlists and channels.
- Simple command-line interface for easy interaction.
- Automatic updates to ensure compatibility with the latest YouTube changes.
- Python 3.6+
- Python Installation Package-managment pip.
- (Optional) ffmpeg for 1080p+ video downloading.
You can install the required Python packages using pip
:
pip install -r requirements.txt
- Clone this repository:
git clone https://github.com/BadPingHere/Youtube-DL
- Navigate to the project directory:
cd Youtube-DL
-
Install the required packages as mentioned in the Requirements section.
-
You are ready to use the YouTube downloader!
You can use the YouTube downloader by running the either the download_cli.py
or download_gui.py
script, depending on the interface you perfer. If you choose a CLI, you have the options between a verbose, more detailed and longer version, or a one-liner, quick version. If you choose the verbose CLI, just run the script. If you choose the quick CLI, here are some common usage examples:
python download_cli.py --url https://www.youtube.com/watch?v=dQw4w9WgXcQ --video -- --thumbnail --captions --audio --resolution 720p
For more options and information, use the --help
flag:
python download_cli.py --help
Contributions are welcome! If you want to contribute to this project, please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature
-
Make your changes and commit them with descriptive commit messages.
-
Push your changes to your fork:
git push origin feature/your-feature
- Create a pull request to the main repository.
Please ensure that your code follows the project's coding style and includes appropriate tests.
This project is licensed under the MIT License - see the LICENSE file for details.