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] giphy: API key extraction fails (#6744)
Bnyrofc028154a4f6
diff --git a/searx/engines/giphy.py b/searx/engines/giphy.pyindex 1e3ec8499..87cdec0d1 100644--- a/searx/engines/giphy.py+++ b/searx/engines/giphy.py@@ -67,7 +67,7 @@ def _get_api_key() -> str:homepage_doc = get(base_url).html()- for script_src in eval_xpath_list(homepage_doc, "//script[contains(@src, 'layout')]/@src"):+ for script_src in eval_xpath_list(homepage_doc, "//script/@src"):script_resp = get(base_url + script_src)api_keys = _GIPHY_API_KEY_RE.findall(script_resp.text)if api_keys: