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