I get a weekly newsletter with a bunch of music recommendations in it, which I had been manually adding to a Spotify playlist.
So I recently wrote a CLI in Node that takes a URL and a CSS-style query selector (ie, '.album-title'), then scrapes the page, searches for each found instance and adds them all to a spotify playlist. github.com/markreid/scrapify
That's awesome! I'm currently working on a similar thing using Pitchfork best new music, Gorilla vs Bear reviews and Needle Drop best tracks of the week + favorite albums of the month.
Very clean code btw o/
Comments (337) 101 threads
Show all comments
Showing thread 70 of 101
So I recently wrote a CLI in Node that takes a URL and a CSS-style query selector (ie, '.album-title'), then scrapes the page, searches for each found instance and adds them all to a spotify playlist.
github.com/markreid/scrapify
Feel free to fork or borrow or contribute!