Created
May 10, 2014 10:48
-
-
Save SathyaBhat/a613e2cfaa802626d4ec to your computer and use it in GitHub Desktop.
Fetches spotify data-ids from Spotify's http page. The list is then sent to spotify-to-mp3 ruby gem to download via Grooveshark. And that is how you download songs from spotify.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
items = document.getElementsByClassName('play-track'); | |
for(i= 0; i<items.length;i++) {console.log('http://open.spotify.com/track/' + items[i].getAttribute('data-id'));} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment