The iFood's search queries are made with ajax under the hood sending a POST
request to this variable - _ctx+URL_SEARCH+URL_SEARCH_RESTAURANT_AND_DISH
(the variable output is /search/restaurantdish
).
$.ajax({
type: "POST",
data: {
queryString: $("#searchField").val()
},
url: _ctx + URL_SEARCH + URL_SEARCH_RESTAURANT_AND_DISH,
beforeSend: appendThrobber(a),
cache: !1
})
.done(...)
.fail(...)
iFood search scripts:: functions-restaurants-search.js functions-restaurants-filter.js
Pedidos Já works fine, we can collect their data easily. The issue is: They don't have a price range or something like that, however Pedidos Já has the menu of restaurants with price of each thing.