A very small library for extracting a search query string given a referrer address. It should work for Yahoo, Google, and Bing searches. If it doesn't please let me know so the library can improve.
for leiningen:
[query-extractor "0.0.9"]
An example REPL session:
=> (use 'query-extractor.core)
=> (extract "http://www.google.com/search?q=just+an+example")
=>"just an example"
Copyright (C) 2011 Soren Macbeth
Distributed under the Eclipse Public License, the same as Clojure.