mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Update README.md
This commit is contained in:
22
README.md
22
README.md
@@ -10,21 +10,16 @@ This python script allows downloading songs instantly by just entering the name
|
|||||||
pip install mechanize
|
pip install mechanize
|
||||||
pip install BeautifulSoup4
|
pip install BeautifulSoup4
|
||||||
pip install pafy
|
pip install pafy
|
||||||
|
pip install spotipy
|
||||||
```
|
```
|
||||||
[OPTIONAL] If you want to convert downloaded music to mp3 (from m4a) install avconv for linux or ffmpeg from https://ffmpeg.zeranoe.com/builds/ for windows and then place the ffmpeg.exe in your script folder:
|
|
||||||
```
|
```
|
||||||
sudo apt-get install libav-tools
|
sudo apt-get install libav-tools
|
||||||
or download from https://ffmpeg.zeranoe.com/builds/ for windows
|
|
||||||
```
|
```
|
||||||
## Installation & Usage:
|
## Installation & Usage:
|
||||||
```
|
```
|
||||||
git clone https://github.com/Ritiek/YTMusic
|
git clone https://github.com/Ritiek/YTMusic
|
||||||
cd YTMusic
|
cd YTMusic
|
||||||
sudo python setup.py
|
sudo python setup.py install
|
||||||
```
|
|
||||||
or you can also install from pypi using:
|
|
||||||
```
|
|
||||||
pip install YT_Music
|
|
||||||
```
|
```
|
||||||
Run it using:
|
Run it using:
|
||||||
```
|
```
|
||||||
@@ -33,25 +28,24 @@ YTMusic
|
|||||||
## Commands that can be used in the Script:
|
## Commands that can be used in the Script:
|
||||||
```
|
```
|
||||||
• play - will play the last song downloaded using default music player
|
• play - will play the last song downloaded using default music player
|
||||||
• spotify - downloads songs from spotify playlist (see below:)
|
• list - downloads songs from spotify (see below:)
|
||||||
• convert - will convert all your m4a songs into mp3
|
|
||||||
• exit - exit the script
|
• exit - exit the script
|
||||||
```
|
```
|
||||||
|
|
||||||
## Downloading Music from Spotify:
|
## Downloading Music from Spotify:
|
||||||

|

|
||||||
|
|
||||||
• To download music from spotify playlists goto http://www.playlist-converter.net/ and login to your spotify account and choose the playlist you want to download. Let it grab the tracks and then click on Export to free text.
|
• To download music from spotify, simply copy its HTTP or URI link and paste it in the script.
|
||||||
|
|
||||||
• Copy the songs list and create a new text file spotify.txt in your Music directory and paste the songs list.
|
• You can also copy the songs list (names or HTTP or URI) and create a new text file ```list.txt``` in your Music directory and paste the songs list.
|
||||||
```
|
```
|
||||||
cd YTMusic/Music
|
cd YTMusic/Music
|
||||||
sudo nano spotify.txt
|
sudo nano list.txt
|
||||||
[paste your songs here then ctrl+o, enter, ctrl+x]
|
[paste your songs here then ctrl+o, enter, ctrl+x]
|
||||||
sudo chmod 775 spotify.txt
|
sudo chmod 777 list.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
• Use the command spotify in the script to start downloading the list.
|
• Use the command ```list``` in the script to start downloading the list.
|
||||||
|
|
||||||
## Disclaimer:
|
## Disclaimer:
|
||||||
Downloading Copyright Music may be illegal in your country. Please support the artists by buying their Music.
|
Downloading Copyright Music may be illegal in your country. Please support the artists by buying their Music.
|
||||||
|
|||||||
Reference in New Issue
Block a user