diff options
| author | pw3t <romain@berthor.fr> | 2014-01-05 17:57:55 +0100 |
|---|---|---|
| committer | pw3t <romain@berthor.fr> | 2014-01-05 17:57:55 +0100 |
| commit | 0d93ad20186937f86ca9101c1c7453e99c282107 (patch) | |
| tree | 1ff55038c8df267d8a3a1d4f33fbd4101546bf5d /engines.cfg_sample | |
| parent | 89183ed985157540c42c73c5a303dd574c227c7f (diff) | |
| parent | 5c9f6d51746796ef63cd08d27c31e931272e083f (diff) | |
Merge branch 'master' of https://github.com/asciimoo/searx
Diffstat (limited to 'engines.cfg_sample')
| -rw-r--r-- | engines.cfg_sample | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/engines.cfg_sample b/engines.cfg_sample index d76d31214..05593cea4 100644 --- a/engines.cfg_sample +++ b/engines.cfg_sample @@ -5,7 +5,7 @@ number_of_results = 1 [bing] engine = bing -language = en-us +locale = en-US [cc] engine=currency_convert @@ -20,6 +20,7 @@ engine = duckduckgo_definitions [duckduckgo] engine = duckduckgo +locale = en-us [flickr] engine = flickr @@ -63,17 +64,17 @@ categories = social media [urbandictionary] engine = xpath search_url = http://www.urbandictionary.com/define.php?term={query} -url_xpath = //div[@id="entries"]//div[@class="word"]//a -title_xpath = //div[@id="entries"]//div[@class="word"]//span//text() -content_xpath = //div[@id="entries"]//div[@class="text"]//div[@class="definition"]//text() +url_xpath = //div[@id="entries"]//div[@class="word"]/a/@href +title_xpath = //div[@id="entries"]//div[@class="word"]/span +content_xpath = //div[@id="entries"]//div[@class="text"]/div[@class="definition"] [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() +url_xpath = .//h3/a/@href +title_xpath = .//h3/a +content_xpath = .//div[@class="abstr"] suggestion_xpath = //div[@id="satat"]//a [youtube] @@ -82,5 +83,6 @@ categories = videos [dailymotion] engine = dailymotion +locale = en_US categories = videos |