Skip to main content

Python library to download youtube playlist for a user.

Project description

YouTube Playlist Downloader

This package provides a script to download YouTube playlists for a user. It has been tested with both CPython and PyPy.

Installation

pip install youtube-playlist-downloader

Usage

To use it, you will need to have access to OAuth 2.0 client credentials for Google developer project. You can follow Before You Start section in Getting Started page. Once your project is created, create OAuth 2.0 client credentials in console. Download *.json file and use it as a secretfile positional argument at command line. The command by default saves user OAuth tokens in credentials folder in the working directory. Next time when the script runs from that directory, reauthentication is not necessary for corresponding profile, unless --force option is used. Credential folder can also be provided with -e option. Credential file path could also be provided with -c option, and that will override other options.

Here are few commands you can:

youtube-playlist-downloader -h # For help
youtube-playlist-downloader \
    --profile joe4939 \
    --outfolder myplaylists \
    --format json \
    --format default \
    my_app_client_secret.json

Project details


Download files

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

Files for youtube-playlist-downloader, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size youtube_playlist_downloader-0.0.4-py3-none-any.whl (14.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page