Playlist Downloader is a robust Python library that simplifies the process of downloading entire YouTube playlists. It leverages the powerful pytube library to fetch and download videos at their highest available resolution.
Table of Contents
- Table of Contents
- Features
- Badges
- Installation
- Usage/Example
- Requirements
- Contributing
- License
- Author
- Contact
Features
-
Streamlined Playlist Acquisition
- Effortlessly download entire YouTube playlists with a single command
-
Intelligent Quality Selection
- Automatic acquisition of the highest available video resolution
-
Flexible File Management
- User-defined download directory for organized media storage
-
Format Versatility
- Support for multiple output formats (MP4, MKV, etc.)
Badges
Installation
- Install Playlist Downloader using pip:
pip install Playlist_downloader
- For the latest development version, you can install directly from the GitHub repository:
pip install git+https://github.com/deepanshu414/playlist-downloader.git
- Clone the repository:
git clone https://github.com/deepanshu414/playlist-downloader.git
- Navigate to the project directory:
cd playlist-downloader
Usage/Example
Here's a comprehensive example of how to use Playlist Downloader:
from Playlist_downloader import download
def download_playlist():
# Extract the playlist ID from the full URL
# For example, from 'https://www.youtube.com/playlist?list=PLGjplNEQ1it8-0CmoljS5yeV-GlKSUEt0'
# we extract 'PLGjplNEQ1it8-0CmoljS5yeV-GlKSUEt0'
playlist_id = 'PLGjplNEQ1it8-0CmoljS5yeV-GlKSUEt0'
# Specify the path where the playlist videos will be downloaded
download_path = '/path/to/download/folder'
# Call the download function with the playlist ID and download path
download(playlist_id, download_path)
if __name__ == "__main__":
# Execute the download_playlist function when the script is run directly
download_playlist()
Requirements
- Python 3.7+
pytubelibrary
Contributing
We welcome contributions to Playlist Downloader! Here's how you can help:
- Fork the repository
- Create a new branch (git checkout -b feature/amazing-feature)
- Make your changes
- Run the tests (pytest)
- Commit your changes (git commit -am 'Add some amazing feature')
- Push to the branch (git push origin feature/amazing-feature)
- Open a Pull Request
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Deepanshu Antil - GitHub Profile
Contact
For support or inquiries, please open an issue on the GitHub repository.
Release files for Playlist-downloader 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Playlist_downloader-0.0.5.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Playlist_downloader-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / Playlist_downloader-0.0.5.tar.gz
| Download URL | Playlist_downloader-0.0.5.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0cdd9749dc44f1cd48f2a01b4413fb99491d68012204d8b9f0122434780770a
|
|
BLAKE2b-256 checksum How to use checksums |
89d6c0d40aa2a0006ee2bc57e0a23963b411c8a9c70622b7388c1506f63f6a64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / Playlist_downloader-0.0.5-py3-none-any.whl
| Download URL | Playlist_downloader-0.0.5-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d37c4b7f5331db1f208da24d4785331a685b9332686f06b16670158488ca4bc
|
|
BLAKE2b-256 checksum How to use checksums |
b6d180664bd94a349a5fcfdc7c393c16b5a442e1a965b12f93369a32c103a446
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|