This commit is contained in:
Joseph Cheung 2023-03-01 23:42:00 +08:00
parent cd0218c3f4
commit 4216238718
2 changed files with 0 additions and 2 deletions

View file

@ -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']):

View file

@ -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']):