diff --git a/searx/webapp.py b/searx/webapp.py index b1b6f281d..ded23d111 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -799,7 +799,6 @@ def search(): url_proxy = {} prompt = "" for res in results: - results.remove(res) if 'url' not in res: continue if 'title' not in res: continue if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN' and gfw.filter(res['title']): diff --git a/searx/webapp1.py b/searx/webapp1.py index 182ba80c4..31d1f6eac 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -799,7 +799,6 @@ def search(): url_proxy = {} prompt = "" for res in results: - results.remove(res) if 'url' not in res: continue if 'title' not in res: continue if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN' and gfw.filter(res['title']):