mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 12:10:00 +00:00
[fix] cleanup: rename searx leftovers to SearXNG (#5049)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user