Skip to main content

Download songs from Spotify like youtube-dl

Project description

Spotify-DLX

   ███████╗██████╗  ██████╗ ████████╗██╗███████╗██╗   ██╗    ██████╗ ██╗     ██╗  ██╗
   ██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██║██╔════╝╚██╗ ██╔╝    ██╔══██╗██║     ╚██╗██╔╝
   ███████╗██████╔╝██║   ██║   ██║   ██║█████╗   ╚████╔╝     ██║  ██║██║      ╚███╔╝
   ╚════██║██╔═══╝ ██║   ██║   ██║   ██║██╔══╝    ╚██╔╝      ██║  ██║██║      ██╔██╗
   ███████║██║     ╚██████╔╝   ██║   ██║██║        ██║       ██████╔╝███████╗██╔╝ ██╗
   ╚══════╝╚═╝      ╚═════╝    ╚═╝   ╚═╝╚═╝        ╚═╝       ╚═════╝ ╚══════╝╚═╝  ╚═╝

Downloads songs and podcasts from any Spotify playlist, album or track easily.

The purpose of this project is to provide simple and easy Spotify CLI/client to downloads songs and podcasts with beautiful terminal UI.

Usage

CLI

$ python -m spotify_dlx

Then cool UI will appear.

Options

--root         : Root path to download songs. Default is $HOME/spotify_dlx/songs/.
--root-podcast : Root path to download songs. Default is $HOME/spotify_dlx/podcasts/.
--url          : Specific url for track, album, playlist or episode. Optional.
--liked        : If specified, download all liked songs.
--playlist     : If specified, download songs from user's playlist.
--disable-skip : If specified, disable to skip already downloaded audio.
--format       : wav or mp3.
--limit        :  Search limits.

Client

>>> from spotify_dlx import SpotifyDLXClient
>>> client = SpotifyDLXClient()
>>> client.login(usename="USERNAME", password="PASSWORD")
>>> client.search("Billie Eilish")

Installation

pip

$ pip install spotify_dlx

Manual

$ git clone git@github.com:ozora-ogino/spotify_dlx.git
$ cd  spotify_dlx
$ pip install -e .

Frequently Asked QUestion

What's the difference between spotify_dl?

As you know, spotify_dl is awesome and high quality library.

But I want to download spotify songs by cli and make the process simpler and this is it.

Contribution

This is still personal toy project, however Contribution is welcome.

I recommend to understand following topics.

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

spotify_dlx-0.1.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

spotify_dlx-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file spotify_dlx-0.1.0.tar.gz.

File metadata

  • Download URL: spotify_dlx-0.1.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for spotify_dlx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bbdd1ef9a5f65606cc6fa03abc3f3a2923013e0725abb3d862b7468f653a5fce
MD5 7ec347e6d9270dce5b54f3eade476d07
BLAKE2b-256 9c311e59204fcc4395afa5e005da017263a8896d143cb693c0ce9e683b1ff52d

See more details on using hashes here.

File details

Details for the file spotify_dlx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: spotify_dlx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for spotify_dlx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb640796458a28d71f5c092d2d438ac62e281df6af18eef3c5ce152e8ca95af1
MD5 8f32046d6312c7525c6848ae4ce62667
BLAKE2b-256 4bda51bd67861dcbebf2ead28d651c4857885b60026cca6312442695f06f19e3

See more details on using hashes here.

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