diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2016-12-11 16:39:12 +0100 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2016-12-11 16:58:31 +0100 |
commit | c59c76e6ee14f0417ad55ecf0f888f62f34f1f6d (patch) | |
tree | de9b8bfa3460ad3712b38132ad6c4037f7e475fd /searx/engines/bing_images.py | |
parent | 2fc1091b7fbd76189754767e2da8315e04ca1e47 (diff) | |
download | searxng-c59c76e6ee14f0417ad55ecf0f888f62f34f1f6d.tar.gz searxng-c59c76e6ee14f0417ad55ecf0f888f62f34f1f6d.zip |
add year to time range to engines which support "Last year"
Engines:
* Bing images
* Flickr (noapi)
* Google
* Google Images
* Google News
Diffstat (limited to 'searx/engines/bing_images.py')
-rw-r--r-- | searx/engines/bing_images.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py index 417871d6f..4dd362cb3 100644 --- a/searx/engines/bing_images.py +++ b/searx/engines/bing_images.py @@ -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', |