Skip to main content

Playlist Downloader simplifies the process of downloading YouTube playlists by providing a straightforward API to fetch and save videos from a given playlist URL.

Project description

Playlist

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

Features

  1. Streamlined Playlist Acquisition

    • Effortlessly download entire YouTube playlists with a single command
  2. Intelligent Quality Selection

    • Automatic acquisition of the highest available video resolution
  3. Flexible File Management

    • User-defined download directory for organized media storage
  4. Format Versatility

    • Support for multiple output formats (MP4, MKV, etc.)

Badges

PyPI version MIT License

Installation

  1. Install Playlist Downloader using pip:
pip install Playlist_downloader
  1. For the latest development version, you can install directly from the GitHub repository:
pip install git+https://github.com/deepanshu414/playlist-downloader.git
  1. Clone the repository:
git clone https://github.com/deepanshu414/playlist-downloader.git
  1. 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+
  • pytube library

Contributing

We welcome contributions to Playlist Downloader! Here's how you can help:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run the tests (pytest)
  5. Commit your changes (git commit -am 'Add some amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Playlist_downloader-0.0.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

Playlist_downloader-0.0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file Playlist_downloader-0.0.3.tar.gz.

File metadata

  • Download URL: Playlist_downloader-0.0.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for Playlist_downloader-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c55d2daf2b05f47b8be26b2dce7ea2be49a7103c37ceb57ae8cdf4bc8ef64b86
MD5 30d505e793d2efa78ce163bea414e852
BLAKE2b-256 50bd7fdfa680616f86fa9cf2f0741d1d48524117504d92261230e4387d2d3d9a

See more details on using hashes here.

File details

Details for the file Playlist_downloader-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Playlist_downloader-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 131ddd97992cfc1383be70a5bdf29a32e26df099cd512226a6c04f1ac8885fab
MD5 7c29a3bca97ad781943cfdf43141586c
BLAKE2b-256 3b0ab84368c010881254d339ef60a040064da994c635c34676d22cdb11286fba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page