From b0851205cc61cc3e9b642346afa481bfffd1fffa Mon Sep 17 00:00:00 2001 From: luxtiasco <79135227+luxtiasco@users.noreply.github.com> Date: Mon, 20 Feb 2023 01:52:02 +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 f34e17a18..7d5a69eb4 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -711,7 +711,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['title'] +'\n'+ res['content'] + tmp_prompt = res['title'] +'\n'+ res['content'] + '\n' + new_url +'\n' if len(prompt)+len(tmp_prompt)<=1500: prompt += tmp_prompt +'\n' if prompt != "":