mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update webapp.py
This commit is contained in:
parent
6068ea6baa
commit
cadd979978
1 changed files with 1 additions and 1 deletions
|
@ -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 != "":
|
||||
|
|
Loading…
Add table
Reference in a new issue