This page describes a Firefox Greasemonkey script for searching for a list of song names via Skreemr, unattended. This is intended to be used with LastFMLovedTracksScraper, which you use to obtain a list of loved songs from your (or someone else's) Last.fm account.

How to use it:

  1. Use the Greasemonkey userscript linked above (lastfm-loved-tracks-scraper) to obtain a list of songs in CSV format
  2. Install the Greasemonkey userscript linked below (skreemr-batch-search)
  3. Open the control page linked below (skreemrcfg.html)
  4. Paste your list of songs (in CSV format, as exported by lastfm-loved-tracks-scraper) in the “Track list” text box
  5. Click on the “Load” link below to load this list
  6. Open skreemr.com, you should see three links (start, stop, cfg) below the “Search” button
  7. Click on “start”, this starts searching for the songs, and storing the results

To check for progress, either:

To install Greasemonkey: https://addons.mozilla.org/en-US/firefox/addon/748

To install the script described here: http://patraulea.com/gm/skreemr_batch_search.user.js

To view the accumulated songs, visit: http://patraulea.com/gm/skreemrcfg.html

Note that the userscript saves all the results for each search. I haven't yet written a heuristic for choosing the best result for each search.

You have to download the songs from the URLs yourself, but all you have to do is take the third field (cut -d “\t” -f 3) and feed all the urls to wget or some other download manager (cut -d “\t” -f 3 | wget -i -). And maybe set a valid-looking referer.

Or you can use this script which downloads the best match for each result. It executes wget for downloading: http://patraulea.com/hacks/skreemr-prune/prune.py.