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] #55
Adam Tauberfaed14b2c691
diff --git a/searx/engines/yahoo.py b/searx/engines/yahoo.pyindex 7f87e455f..c6cabb58a 100644--- a/searx/engines/yahoo.py+++ b/searx/engines/yahoo.py@@ -17,8 +17,15 @@ paging = Truedef parse_url(url_string):+ endings = ['/RS', '/RK']+ endpositions = []start = url_string.find('http', url_string.find('/RU=')+1)- end = min(url_string.rfind('/RS'), url_string.rfind('/RK'))+ for ending in endings:+ endpos = url_string.rfind(ending)+ if endpos > -1:+ endpositions.append(endpos)++ end = min(endpositions)return unquote(url_string[start:end])