Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[enh] yahoo xpath engine added

asciimooc09d69bd2c2f
diff --git a/engines.cfg_sample b/engines.cfg_sample
index aa9a7b82f..c68147d78 100644
--- a/engines.cfg_sample
+++ b/engines.cfg_sample
@@ -47,6 +47,14 @@ engine = startpage
engine = twitter
categories = social media
+[yahoo]
+engine = xpath
+search_url = http://search.yahoo.com/search?p={query}
+results_xpath = //div[@class="res"]
+url_xpath = .//span[@class="url"]//text()
+content_xpath = .//div[@class="abstr"]//text()
+title_xpath = .//h3/a//text()
+
[youtube]
engine = youtube
categories = videos