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
7e6ca9e657
commit
3511a3737a
1 changed files with 3 additions and 0 deletions
|
@ -791,7 +791,10 @@ def search():
|
|||
for urls in url_pair.keys():
|
||||
gpt = gpt.replace(urls,url_pair[urls])
|
||||
rgpt = gpt
|
||||
|
||||
if gpt and gpt!="":
|
||||
if original_search_query != search_query.query:
|
||||
gpt = "Search为您搜索:" + search_query.query + "\n\n"
|
||||
for i in range(1,16):
|
||||
gpt = gpt.replace("["+str(i)+"] http","[^"+str(i)+"]: http").replace("["+str(i)+"]http","[^"+str(i)+"]: http").replace("["+str(i)+"]","[^"+str(i)+"]")
|
||||
rgpt = gpt
|
||||
|
|
Loading…
Add table
Reference in a new issue