mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Release 0.1
This commit is contained in:
55
README.md
55
README.md
@@ -2,65 +2,46 @@
|
||||
|
||||
My first GitHub Repository (sorry for any mistakes)
|
||||
|
||||
This python script allows downloading songs instantly by just entering the name of the song
|
||||
and the artist.
|
||||
This python script allows downloading songs from youtube by just entering the name of the song
|
||||
and the artist in mp3 extension.
|
||||
|
||||

|
||||
|
||||
## Dependencies:
|
||||
# Dependencies:
|
||||
|
||||
```
|
||||
pip install mechanize
|
||||
pip install bs4
|
||||
pip install pafy
|
||||
```
|
||||
[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
|
||||
or download from https://libav.org/download/ for windows
|
||||
sudo apt-get install ffmpeg
|
||||
or download from https://ffmpeg.zeranoe.com/builds/ for windows and place the ffmpeg.exe in your script folder
|
||||
```
|
||||
|
||||
## Installation & Usage:
|
||||
# Installation & Usage:
|
||||
```
|
||||
git clone https://github.com/Ritiek/YTMusic
|
||||
cd YTMusic
|
||||
sudo python setup.py install
|
||||
```
|
||||
or you can also install from pypi using:
|
||||
```
|
||||
pip install YTMusic
|
||||
```
|
||||
Run it using:
|
||||
```
|
||||
YTMusic
|
||||
sudo python YTMusic.py
|
||||
```
|
||||
|
||||
## 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
|
||||
• spotify - downloads songs from spotify playlist (see below:)
|
||||
• convert - will convert all your m4a songs into mp3
|
||||
• exit - exit the script
|
||||
2. play - will play the last song downloaded using default music player
|
||||
3. gg - exit the script
|
||||
4. spotify - downloads songs from spotify playlist (see below:)
|
||||
```
|
||||
|
||||
## Downloading Music from Spotify:
|
||||
# Downloading Music from Spotify:
|
||||
|
||||

|
||||
|
||||
• To download music from spotify playlists goto http://www.playlist-converter.net/ and login to your
|
||||
1. 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```.
|
||||
|
||||
• Copy the songs list and create a new text file ```spotify.txt``` in your Music directory and paste the
|
||||
2. Copy the songs list and create a new text file ```spotify.txt``` in your Music directory and paste the
|
||||
songs list.
|
||||
```
|
||||
cd YTMusic/Music
|
||||
sudo nano spotify.txt
|
||||
[paste your songs here then ctrl+o, enter, ctrl+x]
|
||||
sudo chmod 775 spotify.txt
|
||||
```
|
||||
• Use the command ```spotify``` in the script to start downloading the list.
|
||||
3. Use the command ```spotify``` in the script to start downloading the list.
|
||||
|
||||
## Disclaimer:
|
||||
# Known bugs:
|
||||
|
||||
Downloading Copyright Music may be illegal in your country. Please support the artists by buying their Music.
|
||||
1. Fails to download songs containing accents (that is, characters like 'Ø' in song like 'BØRNS Seeing Stars')
|
||||
in the Youtube's video title.
|
||||
|
||||
Reference in New Issue
Block a user