1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 04:40:11 +01:00
searxng/engines.cfg_sample

96 lines
1.9 KiB
Plaintext
Raw Normal View History

[wikipedia]
engine = mediawiki
url = https://en.wikipedia.org/
number_of_results = 1
2013-10-24 23:54:29 +02:00
[bing]
engine = bing
locale = en-US
2013-10-24 23:54:29 +02:00
[currency]
2013-11-04 21:48:00 +01:00
engine=currency_convert
categories = general
2013-11-04 21:48:00 +01:00
[deviantart]
engine = deviantart
categories = images
[ddg definitions]
engine = duckduckgo_definitions
[duckduckgo]
engine = duckduckgo
locale = en-us
[flickr]
engine = flickr
categories = images
[github]
engine = github
categories = it
2013-11-19 15:50:38 +01:00
[google]
engine = json_engine
search_url = https://ajax.googleapis.com/ajax/services/search/web?v=2.0&start=0&rsz=large&safe=off&filter=off&q={query}
categories = general
url_query = /responseData/results/unescapedUrl
content_query = /responseData/results/content
title_query = /responseData/results/titleNoFormatting
[google images]
engine = google_images
categories = images
[piratebay]
engine = piratebay
categories = videos, music
[soundcloud]
engine = soundcloud
categories = music
[stackoverflow]
engine = stackoverflow
categories = it
[startpage]
engine = startpage
[twitter]
engine = twitter
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/@href
title_xpath = //div[@id="entries"]//div[@class="word"]/span
content_xpath = //div[@id="entries"]//div[@class="text"]/div[@class="definition"]
2013-10-26 02:24:10 +02:00
[yahoo]
2013-11-13 19:39:13 +01:00
engine = xpath
search_url = http://search.yahoo.com/search?p={query}
results_xpath = //div[@class="res"]
url_xpath = .//h3/a/@href
title_xpath = .//h3/a
content_xpath = .//div[@class="abstr"]
2013-11-13 19:39:13 +01:00
suggestion_xpath = //div[@id="satat"]//a
2013-10-26 02:24:10 +02:00
[youtube]
engine = youtube
categories = videos
2013-12-30 22:42:37 +01:00
[dailymotion]
engine = dailymotion
locale = en_US
2013-12-30 22:42:37 +01:00
categories = videos
[vimeo]
engine = vimeo
categories = videos
results_xpath = //div[@id="browse_content"]/ol/li
url_xpath=./a/@href
title_xpath=./a/div[@class="data"]/p[@class="title"]/text()
content_xpath=./a/img/@src