summaryrefslogtreecommitdiff
path: root/searx/settings.yml
blob: c07286aedfa0a585e208376348b937981f77c848 (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
server:
    port : 8888
    secret_key : "ultrasecretkey" # change this!
    debug : True
    request_timeout : 3.0 # seconds
    base_url : False

engines:
  - name : wikipedia
    engine : wikipedia
    number_of_results : 1
    paging : False

  - name : bing
    engine : bing
    locale : en-US

  - name : currency
    engine : currency_convert
    categories : general

  - name : deviantart
    engine : deviantart
    categories : images

  - name : ddg definitions
    engine : duckduckgo_definitions

  - name : duckduckgo
    engine : duckduckgo
    locale : en-us

  - name : filecrop
    engine : filecrop
    categories : files

  - name : flickr
    engine : flickr
    categories : images

  - name : github
    engine : github
    categories : it

  - name : google
    engine : google

  - name : google images
    engine : google_images

  - name : piratebay
    engine : piratebay
    categories : videos, music, files

  - name : soundcloud
    engine : soundcloud
    categories : music

  - name : stackoverflow
    engine : stackoverflow
    categories : it

  - name : startpage
    engine : startpage
    base_url : 'https://startpage.com/'
    search_url : 'https://startpage.com/do/search'

# +30% page load time
#  - name : ixquick
#    engine : startpage
#    base_url : 'https://www.ixquick.com/'
#    search_url : 'https://www.ixquick.com/do/search'

  - name : twitter
    engine : twitter
    categories : social media

  - name : urbandictionary
    engine        : xpath
    search_url    : http://www.urbandictionary.com/define.php?term={query}
    url_xpath     : //div[@class="word"]//a/@href
    title_xpath   : //div[@class="word"]//a
    content_xpath : //div[@class="definition"]

  - name : yahoo
    engine : yahoo

  - name : youtube
    engine : youtube
    categories : videos

  - name : dailymotion
    engine : dailymotion
    locale : en_US
    categories : videos

  - name : 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

locales:
    en : English
    de : Deutsch
    hu : Magyar
    fr : Français