diff options
author | Alexandre Flament <alex@al-f.net> | 2017-01-03 19:15:55 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2017-01-03 19:15:55 +0100 |
commit | 7bcdc27a2e2bf7700cd0b1515bcd5e41b40d0bea (patch) | |
tree | 777d097b37022363ea15bdad4173193f2d0164d3 /utils | |
parent | 7b1daf254ef71cd498c33a002130b0ebc8394195 (diff) | |
download | searxng-7bcdc27a2e2bf7700cd0b1515bcd5e41b40d0bea.tar.gz searxng-7bcdc27a2e2bf7700cd0b1515bcd5e41b40d0bea.zip |
[fix] fix standalone_search.py
Diffstat (limited to 'utils')
-rw-r--r-- | utils/standalone_search.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/standalone_search.py b/utils/standalone_search.py index 7e9516f82..cad32eeca 100644 --- a/utils/standalone_search.py +++ b/utils/standalone_search.py @@ -13,10 +13,9 @@ request_params = default_request_params() # Possible params # request_params['headers']['User-Agent'] = '' # request_params['category'] = '' -# request_params['started'] = '' - request_params['pageno'] = 1 request_params['language'] = 'en_us' +request_params['time_range'] = '' params = google.request(argv[1], request_params) @@ -32,5 +31,5 @@ else: request_args['data'] = request_params['data'] resp = req(request_params['url'], **request_args) - +resp.search_params = request_params print(dumps(google.response(resp))) |