mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
d9a133aa6012e991d6140679aa6cda4c8c30ef39
YTMusic
My first GitHub Repository (sorry for any mistakes)
This python script allows downloading songs from youtube by just entering the name of the song and the artist in mp3 extension.
Dependencies:
pip install mechanize
pip install bs4
pip install pafy
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:
git clone https://github.com/Ritiek/YTMusic
cd YTMusic
sudo python setup.py install
YTMusic
or you can also install form pypi using:
pip install YTMusic
Commands that can be used in 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:
- 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.txtin your Music directory and paste the songs list. - Use the command
spotifyin the script to start downloading the list.
Known bugs:
- Fails to download songs containing accents (that is, characters like 'Ø' in song like 'BØRNS Seeing Stars') in the Youtube's video title.
Disclaimer:
Downloading Copyright Music may be illegal in you country. Please support the artists by buying their Music.
Languages
Python
99.8%
Dockerfile
0.2%