[enh] yahoo xpath engine added
commitc09d69bd2c2f0f8d37c03f94a2e6a97636fedba1
authorasciimoo <asciimoo@gmail.com>
dateSat 26 Oct 2013, 02:24 (13 years ago)
parentbadd988
engines.cfg_sample+8
@@ -47,6 +47,14 @@ engine = startpage
4747engine = twitter
4848categories = social media
4949
50+[yahoo]
51+engine = xpath
52+search_url = http://search.yahoo.com/search?p={query}
53+results_xpath = //div[@class="res"]
54+url_xpath = .//span[@class="url"]//text()
55+content_xpath = .//div[@class="abstr"]//text()
56+title_xpath = .//h3/a//text()
57+
5058[youtube]
5159engine = youtube
5260categories = videos