mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
update docs
This commit is contained in:
48
README.md
48
README.md
@@ -1,10 +1,10 @@
|
||||
# Spotify-Downloader
|
||||
|
||||
◘ This little python script allows downloading songs from Spotify by looking for them on YouTube just by entering the song's HTTP link or its URI in an MP3 format.
|
||||
- This little python script allows downloading songs from Spotify by looking for them on YouTube just by entering the song's HTTP link or its URI in an MP3 format.
|
||||
|
||||
◘ You can also download a song by entering its artist and song name.
|
||||
- You can also download a song by entering its artist and song name.
|
||||
|
||||
◘ Downloading a song using spotify link will automatically fix its meta-tags and add a nice a albumart to the song.
|
||||
- Downloading a song using spotify link will automatically fix its meta-tags and add a nice a albumart to the song.
|
||||
|
||||
That's how your Music library will look like!
|
||||
|
||||
@@ -12,7 +12,7 @@ That's how your Music library will look like!
|
||||
<img src="http://i.imgur.com/5vhk3HY.png" width="290">
|
||||
<img src="http://i.imgur.com/RDTCCST.png" width="290">
|
||||
|
||||
◘ If you cloned this repository before [266586a](https://github.com/Ritiek/Spotify-Downloader/commit/266586a2778f2cc2828079ed45699fe434ac5f14) and can't see the meta tags with Windows Media Player and other old players; manipulate and run the below snippet accordingly:
|
||||
- If you cloned this repository before [266586a](https://github.com/Ritiek/Spotify-Downloader/commit/266586a2778f2cc2828079ed45699fe434ac5f14) and can't see the meta tags with Windows Media Player and other old players; manipulate and run the below snippet accordingly:
|
||||
|
||||
```
|
||||
import eyed3
|
||||
@@ -44,10 +44,10 @@ Use `sudo python spotdl.py` to launch the script.
|
||||
|
||||
Assuming you have python (2.7.12 or higher, python 3 is not supported currently) already installed..
|
||||
|
||||
Download Libav-Tools for windows: https://builds.libav.org/windows/release-gpl/libav-x86_64-w64-mingw32-11.7.7z.
|
||||
Copy all the contents of bin folder (of avconv) to Scripts folder (in your python's installation directory)
|
||||
- Download Libav-Tools for windows: https://builds.libav.org/windows/release-gpl/libav-x86_64-w64-mingw32-11.7.7z. Copy all the contents of bin folder (of avconv) to Scripts folder (in your python's installation directory)
|
||||
|
||||
- Download the zip file of this repository and extract its contents in your python's installation folder as well.
|
||||
|
||||
Download the zip file of this repository and extract its contents in your python's installation folder as well.
|
||||
Shift+right-click on empty area and open cmd and type:
|
||||
|
||||
`"Scripts/pip.exe" install -r requirements.txt`
|
||||
@@ -72,43 +72,43 @@ Now to run the script type:
|
||||
|
||||
For example:
|
||||
|
||||
◘ We want to download Hello by Adele, simply run the script and type `adele hello`.
|
||||
- We want to download Hello by Adele, simply run the script and type `adele hello`.
|
||||
|
||||
◘ The script will automatically look for the best matching song and download it in the folder `Music/` placed in your current directory.
|
||||
- The script will automatically look for the best matching song and download it in the folder `Music/` placed in your current directory.
|
||||
|
||||
◘ It will now convert the song to an mp3.
|
||||
- It will now convert the song to an mp3.
|
||||
|
||||
◘ Now, if we want to check it out the lyrics of that song, just type `lyrics` in the script and it should print out the lyrics for any last downloaded song.
|
||||
- Now, if we want to check it out the lyrics of that song, just type `lyrics` in the script and it should print out the lyrics for any last downloaded song.
|
||||
|
||||
◘ Okay, lets play the song now. Just type `play` in the script.
|
||||
- Okay, lets play the song now. Just type `play` in the script.
|
||||
|
||||
#### Downloading by Spotify Link:
|
||||
|
||||
For example:
|
||||
|
||||
◘ We want to download the same song (i.e: Hello by Adele) but using Spotify Link this time that looks like `http://open.spotify.com/track/1MDoll6jK4rrk2BcFRP5i7`, you can copy it from your Spotify desktop or mobile app by right clicking or long tap on the song and copy HTTP link.
|
||||
- We want to download the same song (i.e: Hello by Adele) but using Spotify Link this time that looks like `http://open.spotify.com/track/1MDoll6jK4rrk2BcFRP5i7`, you can copy it from your Spotify desktop or mobile app by right clicking or long tap on the song and copy HTTP link.
|
||||
|
||||
◘ Now simply paste this link after running the script, it should download Hello by Adele.
|
||||
- Now simply paste this link after running the script, it should download Hello by Adele.
|
||||
|
||||
◘ Just like before, it will again convert the song to an mp3.
|
||||
- Just like before, it will again convert the song to an mp3.
|
||||
|
||||
◘ Now, that we have used a Spotify link to download the song, the script will automatically fix the meta-tags and add an album-art to the song.
|
||||
- Now, that we have used a Spotify link to download the song, the script will automatically fix the meta-tags and add an album-art to the song.
|
||||
|
||||
◘ Similarly, we can now check out its lyrics or play it.
|
||||
- Similarly, we can now check out its lyrics or play it.
|
||||
|
||||
◘ Just type `exit` to exit out of the script.
|
||||
- Just type `exit` to exit out of the script.
|
||||
|
||||
#### What if we want to download multiple songs at once?
|
||||
|
||||
For example:
|
||||
|
||||
◘ We want to download Hello by Adele, The Nights by Avicci and 21 Guns by Green Day just using a single command.
|
||||
- We want to download Hello by Adele, The Nights by Avicci and 21 Guns by Green Day just using a single command.
|
||||
|
||||
Also this time we have the Spotify link only for Hello by Adele but not for other two songs.
|
||||
|
||||
No problem!
|
||||
|
||||
◘ Just make a list.txt by running the following commands:
|
||||
- Just make a list.txt by running the following commands:
|
||||
|
||||
```
|
||||
cd
|
||||
@@ -125,11 +125,11 @@ the nights avicci
|
||||
21 guns green day
|
||||
```
|
||||
|
||||
◘ Now just run the script and type ```list```, it will automatically start downloading the songs you provided in `list.txt`.
|
||||
- Now just run the script and type ```list```, it will automatically start downloading the songs you provided in `list.txt`.
|
||||
|
||||
◘ You can stop downloading songs by hitting `ctrl+c`, the script will automatically resume from the song where you stopped it the next time you want to download the songs using `list`.
|
||||
- You can stop downloading songs by hitting `ctrl+c`, the script will automatically resume from the song where you stopped it the next time you want to download the songs using `list`.
|
||||
|
||||
◘ To download all songs in your playlist, just select all the songs `ctrl+a` in Spotify desktop app, copy them `ctrl+c` and paste `ctrl+v` in `list.txt`.
|
||||
- To download all songs in your playlist, just select all the songs `ctrl+a` in Spotify desktop app, copy them `ctrl+c` and paste `ctrl+v` in `list.txt`.
|
||||
|
||||
## Brief info on Commands:
|
||||
```
|
||||
@@ -141,7 +141,7 @@ the nights avicci
|
||||
|
||||
## Disclaimer:
|
||||
|
||||
Downloading copyright songs may be illegal in your country. Please support the artists by buying their music.
|
||||
Downloading copyright songs may be illegal in your country. This tool is for educational purposes only and was created only to show how Spotify's API can be exploited to download music from YouTube. Please support the artists by buying their music.
|
||||
|
||||
## License:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user