mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
cd0218c3f4
commit
4216238718
2 changed files with 0 additions and 2 deletions
|
@ -799,7 +799,6 @@ def search():
|
||||||
url_proxy = {}
|
url_proxy = {}
|
||||||
prompt = ""
|
prompt = ""
|
||||||
for res in results:
|
for res in results:
|
||||||
results.remove(res)
|
|
||||||
if 'url' not in res: continue
|
if 'url' not in res: continue
|
||||||
if 'title' not in res: continue
|
if 'title' not in res: continue
|
||||||
if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN' and gfw.filter(res['title']):
|
if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN' and gfw.filter(res['title']):
|
||||||
|
|
|
@ -799,7 +799,6 @@ def search():
|
||||||
url_proxy = {}
|
url_proxy = {}
|
||||||
prompt = ""
|
prompt = ""
|
||||||
for res in results:
|
for res in results:
|
||||||
results.remove(res)
|
|
||||||
if 'url' not in res: continue
|
if 'url' not in res: continue
|
||||||
if 'title' not in res: continue
|
if 'title' not in res: continue
|
||||||
if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN' and gfw.filter(res['title']):
|
if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN' and gfw.filter(res['title']):
|
||||||
|
|
Loading…
Add table
Reference in a new issue