Skip to main content

Youtube cli interface for downloading media

Project description

maya

Multimedia adapter for youtube api which allows to download content from youtube.

Installation

Execute the following command to install using pip:

pip install mayonnaise

To create conda environment use the environment.yml file:

conda env create -f environment.yml

Usage

To download a playlist as a collection of mp3 files run the following command:

python -m maya pull https://www.youtube.com/playlist?list=PLyLY-SxMUzOgbhkUkru4esCxNUl3-DEtj -o assets/314 -a -u

To do the same but download the whole videos (picking the highest quality):

python -m maya pull https://www.youtube.com/playlist?list=PLyLY-SxMUzOgbhkUkru4esCxNUl3-DEtj -o assets/314 -a

If you are not downloading age-restricted videos, then option -a (authentication) can be omitted:

python -m maya pull https://www.youtube.com/playlist?list=PLyLY-SxMUzOgbhkUkru4esCxNUl3-DEtj -o assets/314

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

mayonnaise-0.1.0.tar.gz (6.3 kB view hashes)

Uploaded Source

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