Downloads songs from Spotify using YouTube!
Open Spotify Downloader
This repo is a simple script that uses public APIs of Spotify and YouTube to retrieve Spotify musics from YouTube.
The whole idea I borrowed from this repo, but it uses official APIs of YouTube and Spotify which incurs some restriction (like search limit in YouTube API). So I decided to implement it using public, ananymous APIs of those websites.
We are using youtube-dl package to download youtube videos and ffmpeg to convert them to mp3, make sure to download them correctly.
If you got problems with ffmpeg, provide ffmpeg path with
FFMPEG_PATH environment variable.
You need to have ffmpeg installed in your system with the flag of limemp3.
And install the following requirements:
pip install -r requirements.txt
- Download a playlist or album: Copy the spotify URL
$ open_spotify_dl --url URL_PATH
If you want to store the songs in a custom directory give it as an argument to
$ open_spotify_dl --url URL_PATH --root_path
By default, for the sake of speed and resumeness, open spotify downloader youtube search is performed once and sotored in track_lists.json, but if you want to perform the search again you can force it by
Issues and Contact
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size open_spotify_dl-1.0.1.tar.gz (6.4 kB)||File type Source||Python version None||Upload date||Hashes View|