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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file mayonnaise-0.1.0.tar.gz
.
File metadata
- Download URL: mayonnaise-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/6.0.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a318df150aeafac69a3d37c272b200b66d5614c0d3e1cf2904f83ae94e0b08c6 |
|
MD5 | 5722047b193418862998ea347072273a |
|
BLAKE2b-256 | 7be47ac367be99cb52715d84250205d69390407307c6743c4ca44ddc6281ed40 |