diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2016-12-12 10:06:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-12 10:06:43 +0100 |
| commit | e58949b76fac7aa93341523ff0e2f35e0a03e057 (patch) | |
| tree | 82f90b1e406ffda0276d2918b1b86c3589e50012 /searx/engines/flickr_noapi.py | |
| parent | 6b6007fc78f47099d84099c6d6c23e2cd213b82f (diff) | |
| parent | b034356825420507c9fb7ee2dc100676a88cf6c7 (diff) | |
Merge pull request #783 from kvch/time-range-search-year
add year support to engines which support it
Diffstat (limited to 'searx/engines/flickr_noapi.py')
| -rw-r--r-- | searx/engines/flickr_noapi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/engines/flickr_noapi.py b/searx/engines/flickr_noapi.py index 68be139be..3c0ec7b70 100644 --- a/searx/engines/flickr_noapi.py +++ b/searx/engines/flickr_noapi.py @@ -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): |