spotify-dl


Namespotify-dl JSON
Version 8.9.0 PyPI version JSON
download
home_pagehttps://github.com/SathyaBhat/spotify-dl/
SummaryDownloads songs from a Spotify Playlist/Track/Album that you provide
upload_time2024-01-07 06:52:48
maintainer
docs_urlNone
authorSathya Bhat
requires_python>=3.7
licenseMIT
keywords
VCS
bugtrack_url
requirements sentry_sdk yt-dlp spotipy mutagen rich urllib3
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## spotify_dl

Downloads songs from any Spotify playlist, album or track.

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![PyPI download month](https://img.shields.io/pypi/dm/spotify_dl.svg)](https://pypi.python.org/pypi/spotify_dl/)
[![PyPI license](https://img.shields.io/pypi/l/spotify_dl.svg)](https://pypi.python.org/pypi/spotify_dl/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/spotify_dl.svg)](https://pypi.python.org/pypi/spotify_dl/)
[![GitHub release](https://img.shields.io/github/release/SathyaBhat/spotify-dl.svg)](https://GitHub.com/SathyaBhat/spotify-dl/releases/)
[![GitHub stars](https://img.shields.io/github/stars/SathyaBhat/spotify-dl.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/SathyaBhat/spotify-dl/stargazers/)
[![GitHub contributors](https://img.shields.io/github/contributors/SathyaBhat/spotify-dl.svg)](https://GitHub.com/SathyaBhat/spotify-dl/graphs/contributors/)

[![Awesome Badges](https://img.shields.io/badge/badges-awesome-green.svg)](https://github.com/Naereen/badges)

### Tell me more!

I wanted an easy way to grab the songs present in my library so I can download it & use it offline. I no longer use this, but continue to maintain this. spotify-dl doesn't download anything from Spotify. It picks up the metadata from Spotify API and then uses [yt-dlp](https://github.com/yt-dlp/yt-dlp) to download the song.

### How do I get this thing running?

Install using pip

    pip3 install spotify_dl

Run the program

    spotify_dl -l spotify_playlist_link_1 spotify_playlist_link_2

If you want to make use of parallel download, pass `-mc <number>`, where `<number>` refers to number of cores. If this is too high, spotify-dl will set it to one lesser than max number of cores that you have.

    spotify_dl -mc 4 -l spotify_playlist_link_1 spotify_playlist_link_2

Spotify-dl can make use of SponsorBlock and skip non-music sections when downloading from YouTube. This is disabled by default and can be enabled using:

        spotify_dl -l spotify_playlist_link_1 -s y

For running in verbose mode, append `-V`

    spotify_dl -V -l spotify_playlist_link -o download_directory

For more details and other arguments, issue `-h`

    spotify_dl -h

See [the getting started guide](https://github.com/SathyaBhat/spotify-dl/blob/master/GETTING_STARTED.md) for more details.

### Demo

[![asciicast](https://asciinema.org/a/488558.svg)](https://asciinema.org/a/488558)

### Contributing and Local development

Pull requests and any contributions are always welcome. Please open an issue with your proposal before you start with something.

#### Running tests

Tests are setup and run with pytest, run

    make tests

to run the tests with [Make](https://www.gnu.org/software/make/)

### Thanks and Credits

Take a look at [CONTRIBUTORS](https://github.com/SathyaBhat/spotify-dl/graphs/contributors) for a list of all people who have helped and contributed to the project.

### Issues, Feedback, Contact details

Feel free to raise any bugs/issues under Github issues. Pull requests are also more than welcome.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SathyaBhat/spotify-dl/",
    "name": "spotify-dl",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Sathya Bhat",
    "author_email": "sathya@sathyasays.com",
    "download_url": "https://files.pythonhosted.org/packages/74/a8/f9ab9be83b6464dfc127e93526a415dc8e7b712d937fb7794dfbb2d62186/spotify_dl-8.9.0.tar.gz",
    "platform": null,
    "description": "## spotify_dl\n\nDownloads songs from any Spotify playlist, album or track.\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![PyPI download month](https://img.shields.io/pypi/dm/spotify_dl.svg)](https://pypi.python.org/pypi/spotify_dl/)\n[![PyPI license](https://img.shields.io/pypi/l/spotify_dl.svg)](https://pypi.python.org/pypi/spotify_dl/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/spotify_dl.svg)](https://pypi.python.org/pypi/spotify_dl/)\n[![GitHub release](https://img.shields.io/github/release/SathyaBhat/spotify-dl.svg)](https://GitHub.com/SathyaBhat/spotify-dl/releases/)\n[![GitHub stars](https://img.shields.io/github/stars/SathyaBhat/spotify-dl.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/SathyaBhat/spotify-dl/stargazers/)\n[![GitHub contributors](https://img.shields.io/github/contributors/SathyaBhat/spotify-dl.svg)](https://GitHub.com/SathyaBhat/spotify-dl/graphs/contributors/)\n\n[![Awesome Badges](https://img.shields.io/badge/badges-awesome-green.svg)](https://github.com/Naereen/badges)\n\n### Tell me more!\n\nI wanted an easy way to grab the songs present in my library so I can download it & use it offline. I no longer use this, but continue to maintain this. spotify-dl doesn't download anything from Spotify. It picks up the metadata from Spotify API and then uses [yt-dlp](https://github.com/yt-dlp/yt-dlp) to download the song.\n\n### How do I get this thing running?\n\nInstall using pip\n\n    pip3 install spotify_dl\n\nRun the program\n\n    spotify_dl -l spotify_playlist_link_1 spotify_playlist_link_2\n\nIf you want to make use of parallel download, pass `-mc <number>`, where `<number>` refers to number of cores. If this is too high, spotify-dl will set it to one lesser than max number of cores that you have.\n\n    spotify_dl -mc 4 -l spotify_playlist_link_1 spotify_playlist_link_2\n\nSpotify-dl can make use of SponsorBlock and skip non-music sections when downloading from YouTube. This is disabled by default and can be enabled using:\n\n        spotify_dl -l spotify_playlist_link_1 -s y\n\nFor running in verbose mode, append `-V`\n\n    spotify_dl -V -l spotify_playlist_link -o download_directory\n\nFor more details and other arguments, issue `-h`\n\n    spotify_dl -h\n\nSee [the getting started guide](https://github.com/SathyaBhat/spotify-dl/blob/master/GETTING_STARTED.md) for more details.\n\n### Demo\n\n[![asciicast](https://asciinema.org/a/488558.svg)](https://asciinema.org/a/488558)\n\n### Contributing and Local development\n\nPull requests and any contributions are always welcome. Please open an issue with your proposal before you start with something.\n\n#### Running tests\n\nTests are setup and run with pytest, run\n\n    make tests\n\nto run the tests with [Make](https://www.gnu.org/software/make/)\n\n### Thanks and Credits\n\nTake a look at [CONTRIBUTORS](https://github.com/SathyaBhat/spotify-dl/graphs/contributors) for a list of all people who have helped and contributed to the project.\n\n### Issues, Feedback, Contact details\n\nFeel free to raise any bugs/issues under Github issues. Pull requests are also more than welcome.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Downloads songs from a Spotify Playlist/Track/Album that you provide",
    "version": "8.9.0",
    "project_urls": {
        "Homepage": "https://github.com/SathyaBhat/spotify-dl/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e2124b768cebea00a2ca2ee7e664d42987f0410bfbc9015a6a2047f1855e022",
                "md5": "0789bdef6a4cfe161a8d4d5290ec47f8",
                "sha256": "502a926c26ecc8c32bd68393f0a3b0562c8474fee5f0ea0445f2002cb900821a"
            },
            "downloads": -1,
            "filename": "spotify_dl-8.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0789bdef6a4cfe161a8d4d5290ec47f8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 14128,
            "upload_time": "2024-01-07T06:52:46",
            "upload_time_iso_8601": "2024-01-07T06:52:46.332391Z",
            "url": "https://files.pythonhosted.org/packages/8e/21/24b768cebea00a2ca2ee7e664d42987f0410bfbc9015a6a2047f1855e022/spotify_dl-8.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "74a8f9ab9be83b6464dfc127e93526a415dc8e7b712d937fb7794dfbb2d62186",
                "md5": "14d9293897dc1fd7481fe61194679475",
                "sha256": "71392ed45f8a7c6ffb674ecdf47acad08738ad63376eacb88f72ed35869372a7"
            },
            "downloads": -1,
            "filename": "spotify_dl-8.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "14d9293897dc1fd7481fe61194679475",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 18149,
            "upload_time": "2024-01-07T06:52:48",
            "upload_time_iso_8601": "2024-01-07T06:52:48.154120Z",
            "url": "https://files.pythonhosted.org/packages/74/a8/f9ab9be83b6464dfc127e93526a415dc8e7b712d937fb7794dfbb2d62186/spotify_dl-8.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-07 06:52:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SathyaBhat",
    "github_project": "spotify-dl",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "sentry_sdk",
            "specs": [
                [
                    "~=",
                    "1.16"
                ]
            ]
        },
        {
            "name": "yt-dlp",
            "specs": [
                [
                    ">=",
                    "2023.3.4"
                ]
            ]
        },
        {
            "name": "spotipy",
            "specs": [
                [
                    "~=",
                    "2.21"
                ]
            ]
        },
        {
            "name": "mutagen",
            "specs": [
                [
                    "~=",
                    "1.45"
                ]
            ]
        },
        {
            "name": "rich",
            "specs": [
                [
                    "~=",
                    "12.0"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "~=",
                    "1.26"
                ]
            ]
        }
    ],
    "lcname": "spotify-dl"
}
        
Elapsed time: 0.20709s