summaryrefslogtreecommitdiff
path: root/engines.cfg_sample
blob: b19632dc205a759437e6b0b33a5da584e9f7d075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[wikipedia]
engine = mediawiki
url    = https://en.wikipedia.org/
number_of_results = 1

[bing]
engine = bing
locale = en-US

[cc]
engine=currency_convert
categories = general

[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

[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"]

[yahoo]
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"]
suggestion_xpath = //div[@id="satat"]//a

[youtube]
engine = youtube
categories = videos

[dailymotion]
engine = dailymotion
locale = en_US
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