mirror of
https://github.com/searxng/searxng.git
synced 2025-08-11 14:26:43 +02:00
[fix] cleanup: rename searx
leftovers to SearXNG
(#5049)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
02cbdf468b
commit
649a8dd577
19 changed files with 33 additions and 35 deletions
|
@ -7,7 +7,7 @@ import re
|
|||
|
||||
from urllib.parse import urlencode
|
||||
from lxml import etree
|
||||
from searx.utils import searx_useragent
|
||||
from searx.utils import searxng_useragent
|
||||
|
||||
# about
|
||||
about = {
|
||||
|
@ -69,7 +69,7 @@ def request(query, params):
|
|||
|
||||
params['url'] = base_url.format(**string_args)
|
||||
|
||||
params['headers']['User-Agent'] = searx_useragent()
|
||||
params['headers']['User-Agent'] = searxng_useragent()
|
||||
return params
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue