class Knj::Degulesider def initialize(args = {}) @args = args @http = Knj::Http.new( "host" => "www.degulesider.dk" ) end def search(sargs) url = "/search/#{Php4r.urlencode(sargs[:where])}/-/1/" html = @http.get(url) ret = [] tbody_match = html["data"].match(/
/) do |match| res = {} if title_match = match[1].match(/