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] engine - invidious thumbnails
jazzzooo6039dbf2112d
diff --git a/searx/engines/invidious.py b/searx/engines/invidious.pyindex 29f276636..566b0cf98 100644--- a/searx/engines/invidious.py+++ b/searx/engines/invidious.py@@ -5,7 +5,7 @@import timeimport random-from urllib.parse import quote_plus+from urllib.parse import quote_plus, urlparsefrom dateutil import parser# about@@ -75,6 +75,11 @@ def response(resp):else:thumbnail = ""+ # some instances return a partial thumbnail url+ # we check if the url is partial, and prepend the base_url if it is+ if thumbnail and not urlparse(thumbnail).netloc:+ thumbnail = resp.search_params['base_url'] + thumbnail+publishedDate = parser.parse(time.ctime(result.get("published", 0)))length = time.gmtime(result.get("lengthSeconds"))if length.tm_hour: