45 """Assemble a Bing-Video request."""
47 engine_region = traits.get_region(params[
'searxng_locale'], traits.all_locale)
48 engine_language = traits.get_language(params[
'searxng_locale'],
'en')
49 set_bing_cookies(params, engine_language, engine_region)
59 'first': (int(params.get(
'pageno', 1)) - 1) * 35 + 1,
67 if params[
'time_range']:
68 query_params[
'form'] =
'VRFLTR'
69 query_params[
'qft'] =
' filterui:videoage-lt%s' % time_map[params[
'time_range']]
71 params[
'url'] = base_url +
'?' + urlencode(query_params)