mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00: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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user