Lurker News

Comments (337) 101 threads

Show all comments

Showing thread 70 of 101

mxxx1 reply#
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

selfish-duck1 reply#
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/
mxxx#
Cheers dude. I use the pitchfork best albums as an example in the readme because it's quite a simple one.

Feel free to fork or borrow or contribute!