From 4216238718331a1a001e5f7b7ec9cba3c91a14a4 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Wed, 1 Mar 2023 23:42:00 +0800 Subject: [PATCH] c --- searx/webapp.py | 1 - searx/webapp1.py | 1 - 2 files changed, 2 deletions(-) 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']):