SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] uxwing: doesn't work / forbidden
Bnyrob385f320984f
diff --git a/searx/engines/uxwing.py b/searx/engines/uxwing.pyindex 98408432b..d00dbd2b4 100644--- a/searx/engines/uxwing.py+++ b/searx/engines/uxwing.py@@ -4,7 +4,7 @@from urllib.parse import quote_plusfrom lxml import html-from searx.utils import eval_xpath, eval_xpath_list, extract_text+from searx.utils import eval_xpath, eval_xpath_list, extract_text, gen_useragentabout = {"website": 'https://uxwing.com',@@ -17,10 +17,12 @@ about = {categories = ['images', 'icons']base_url = "https://uxwing.com"+enable_http2 = Falsedef request(query, params):params['url'] = f"{base_url}/?s={quote_plus(query)}"+ params['headers'] = {'User-Agent': "Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0"}return params