From cadd979978ea174185bdbe99fb3a7e0d8c831bf9 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Sun, 19 Feb 2023 20:46:55 +0800 Subject: [PATCH] Update webapp.py --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index 3bacfccf9..6859294c6 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -709,7 +709,7 @@ def search(): if res['content'] == '': continue new_url = 'https://url'+str(len(url_pair)) url_pair[new_url] = res['url'] - tmp_prompt = new_url +'\n'+ res['url']['title'] +'\n'+ res['url']['content'] + tmp_prompt = new_url +'\n'+ res['title'] +'\n'+ res['content'] if len(prompt)+len(tmp_prompt)<=1500: prompt += tmp_prompt +'\n' if prompt != "":