Skip to content

Instantly share code, notes, and snippets.

@cers
Created September 24, 2009 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cers/193123 to your computer and use it in GitHub Desktop.
Save cers/193123 to your computer and use it in GitHub Desktop.
CmdUtils.makeSearchCommand({
name: "MovieZoo",
url: "http://www.moviezoo.dk/alle-produkter/soeg/{QUERY}",
parser: {
container: "table.nyhedsbrev_tabel2",
title: "tr:nth-child(2) tr tr:first-child b",
href: function(c) {return jQuery("a.nyhedsbrev",c).attr("href");},
preview: function(c) {var p = ""; jQuery("table table tr:not(:first)",c).each(function(){p += jQuery(this).text()+"<br>";});return p;},
thumbnail: "img.lister_img",
maxResults: 3
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment