mirror of
https://github.com/searxng/searxng.git
synced 2025-07-12 15:59:21 +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
|
@ -34,7 +34,8 @@ paging = True
|
|||
time_range_support = True
|
||||
time_range_dict = {'day': 60 * 60 * 24,
|
||||
'week': 60 * 60 * 24 * 7,
|
||||
'month': 60 * 60 * 24 * 7 * 4}
|
||||
'month': 60 * 60 * 24 * 7 * 4,
|
||||
'year': 60 * 60 * 24 * 7 * 52}
|
||||
|
||||
|
||||
def build_flickr_url(user_id, photo_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue