A cli that may or may not download albums from a certain website
Project description
PyTubeMusic
A cli that may or may not download albums from a certain website.
PyTubeMusic is in alpha. Features are limited and significant API changes are expected
Install
pip install pytubemusic
Requires ffmpeg to be installed on your machine.
Usage
Album/Track data must be provided in toml form. e.g.:
# album_data.toml
url = "..." # URL here
[metadata]
name = "Sonatas for Two Pianos"
album = "Sonatas for Two Pianos"
artist = "Claude Bolling"
genre = "Classical"
year = 1989
tracks = [
{ time = "00:00", name = "Sonata No.1 C Minor" },
{ time = "24:00", name = "Sonata No.2 G-Sharp Minor" },
]
The metadata.tracks
field specifies the name of each track and when each track
starts.
The cli can then be used to download the whole video as a single audio file, or as individual tracks:
pytubemusic album album_data.toml
will download each track as a separate audio file.pytubemusic track album_data.toml
will download the video as a single audio file.
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
pytubemusic-0.0.1a1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for pytubemusic-0.0.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b21bec9c2ac9b9eeef905d87f817cda7c90a6a4717f1ad54d0dfdfb9edc706ed |
|
MD5 | cf3c0c2633815055d9a34227df09a1a7 |
|
BLAKE2b-256 | 482d6dcda11caadc5fb3276bf6ddf5beb2c598e4902b998a14e3deb730f4a7dd |