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.
Source Distributions
Built Distribution
File details
Details for the file youtube_playlist_downloader-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: youtube_playlist_downloader-0.0.4-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e779c4a69604eb9060b269fc907fe239ac933bfd4fd3c386aed9348cab766832 |
|
MD5 | 5f9099085ec19b88300f41635f3f02d2 |
|
BLAKE2b-256 | a936ad0c19a3490d3eb050e810a914dce6426c3071bfba6581110e6118292cef |