diff --git a/searx/webapp.py b/searx/webapp.py index 2d5c780b6bb22013ffbd9be4fe7c16bb899e0417..884dd652942266979a66277231404c8c94fc1e51 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -619,7 +619,7 @@ def search(): # output_format output_format = request.form.get('format', 'html') - if output_format not in ['html', 'rss']: + if output_format not in ['html', 'json', 'csv', 'rss']: output_format = 'html' # check if there is query (not None and not an empty string)