mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
00e9db318d
commit
5739de4f98
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ def request(query, params):
|
|||
until_str = until_date.strftime('%Y-%m-%d')
|
||||
query += ' since:' + until_str
|
||||
else:
|
||||
today = datetime.today()
|
||||
until_date = today - timedelta(weeks=1)
|
||||
until_str = until_date.strftime('%Y-%m-%d')
|
||||
query += ' since:' + until_str
|
||||
|
|
Loading…
Add table
Reference in a new issue