This small webserver takes an AskMetaFilter URL as an input, parses the responses to try to identify song recommendations, and searches spotify for those recommendations.
The result is a spotify playlist generated by the ask metafilter post. When the question was actually about songs, this ususally produces a playlist of the right flavor. When the question was about something else entirely, the playlist is too.
make install-deps
to install the required python packages. You also need to have a youtube API key (you can gneerate one here). Set it with export YOUTUBE_API_KEY=<your-key>
Then just run
make run
to start the local flask server.
make style
and make test
should work, but I'm behind on enforcing those.