maccman/nestful — Issue #18: Unicode escape sequences cause failure
Author: vinniefranco
Created: 2012-02-09 03:11:08+00:00
State: open

res = Nestful.get 'https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=Descendents%20Hallraker%20Live!'

res # => "{\"responseData\": {\"results\":[],\"cursor\":{\"moreResultsUrl\":\"http://www.google.com/images?oe\\u003dutf8\\u0026ie\\u003dutf8\\u0026source\\u003duds\\u0026start\\u003d0\\u0026hl\\u003den\\u0026q\\u003dDescendents%2520Hallraker%2520Live!\",\"searchResultTime\":\"0.03\"}}, \"responseDetails\": null, \"responseStatus\": 200}"

res = Nestful.json_get 'https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=Descendents%20Hallraker%20Live!'
res # => {"responseData"=>{"results"=>[], "cursor"=>{"moreResultsUrl"=>"http://www.google.com/images?oe=utf8&ie=utf8&source=uds&start=0&hl=en&q=Descendents%2520Hallraker%2520Live!", "searchResultTime"=>"0.03"}}, "responseDetails"=>nil, "responseStatus"=>200}

There is actually plenty of results for https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=Descendents%20Hallraker%20Live!