53 """Assemble a Bing-Image request."""
55 engine_region = traits.get_region(params[
'searxng_locale'], traits.all_locale)
56 engine_language = traits.get_language(params[
'searxng_locale'],
'en')
57 set_bing_cookies(params, engine_language, engine_region)
65 'first': (int(params.get(
'pageno', 1)) - 1) * 35 + 1,
72 if params[
'time_range']:
73 query_params[
'qft'] =
'filterui:age-lt%s' % time_map[params[
'time_range']]
75 params[
'url'] = base_url +
'?' + urlencode(query_params)