mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
add year to time range to engines which support "Last year"
Engines: * Bing images * Flickr (noapi) * Google * Google Images * Google News
This commit is contained in:
parent
2fc1091b7f
commit
c59c76e6ee
6 changed files with 36 additions and 5 deletions
|
@ -33,7 +33,8 @@ time_range_string = '&qft=+filterui:age-lt{interval}'
|
|||
thumb_url = "https://www.bing.com/th?id={ihk}"
|
||||
time_range_dict = {'day': '1440',
|
||||
'week': '10080',
|
||||
'month': '43200'}
|
||||
'month': '43200',
|
||||
'year': '525600'}
|
||||
|
||||
# safesearch definitions
|
||||
safesearch_types = {2: 'STRICT',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue