mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
a81e99ecf4
commit
f63e0b2bdf
2 changed files with 79 additions and 4 deletions
File diff suppressed because one or more lines are too long
|
@ -803,6 +803,7 @@ def search():
|
|||
if 'url' not in res: continue
|
||||
if 'title' not in res: continue
|
||||
if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN' and gfw.filter(res['title']):
|
||||
return index_error(output_format, 'No query'), 400
|
||||
if 'content' not in res: continue
|
||||
if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN' and gfw.filter(res['content']):
|
||||
return index_error(output_format, 'No query'), 400
|
||||
|
|
Loading…
Add table
Reference in a new issue