Guest User

searxng config

a guest
Jul 2nd, 2023
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 55.94 KB | Source Code | 0 0
  1. general:
  2.   # Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
  3.   debug: false
  4.   # displayed name
  5.   instance_name: "SearxNG"
  6.   # For example: https://example.com/privacy
  7.   privacypolicy_url: false
  8.   # use true to use your own donation page written in searx/info/en/donate.md
  9.   # use false to disable the donation link
  10.   donation_url: false
  11.   # mailto:contact@example.com
  12.   contact_url: false
  13.   # record stats
  14.   enable_metrics: true
  15.  
  16. brand:
  17.   new_issue_url: https://github.com/searxng/searxng/issues/new
  18.   docs_url: https://docs.searxng.org/
  19.   public_instances: https://searx.space
  20.   wiki_url: https://github.com/searxng/searxng/wiki
  21.   issue_url: https://github.com/searxng/searxng/issues
  22.  
  23. search:
  24.   # Filter results. 0: None, 1: Moderate, 2: Strict
  25.   safe_search: 0
  26.   # Existing autocomplete backends: "dbpedia", "", "google", "yandex",
  27.   # "seznam", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off
  28.   # by default.
  29.   autocomplete: "google"
  30.   # minimun characters to type before autocompleter starts
  31.   autocomplete_min: 4
  32.   # Default search language - leave blank to detect from browser information or
  33.   # use codes from 'languages.py'
  34.   default_lang: "all"
  35.   # Available languages
  36.   # languages:
  37.   #   - all
  38.   #   - en
  39.   #   - en-US
  40.   #   - de
  41.   #   - it-IT
  42.   #   - fr
  43.   #   - fr-BE
  44.   # ban time in seconds after engine errors
  45.   ban_time_on_fail: 5
  46.   # max ban time in seconds after engine errors
  47.   max_ban_time_on_fail: 120
  48.   suspended_times:
  49.     # Engine suspension time after error (in seconds; set to 0 to disable)
  50.     # For error "Access denied" and "HTTP error [402, 403]"
  51.     SearxEngineAccessDenied: 86400
  52.     # For error "CAPTCHA"
  53.     SearxEngineCaptcha: 86400
  54.     # For error "Too many request" and "HTTP error 429"
  55.     SearxEngineTooManyRequests: 3600
  56.     # Cloudflare CAPTCHA
  57.     cf_SearxEngineCaptcha: 1296000
  58.     cf_SearxEngineAccessDenied: 86400
  59.     # ReCAPTCHA
  60.     recaptcha_SearxEngineCaptcha: 604800
  61.  
  62.   # remove format to deny access, use lower case.
  63.   # formats: [html, csv, json, rss]
  64.   formats:
  65.     - html
  66.  
  67. server:
  68.   # If you change port, bind_address or base_url don't forget to rebuild
  69.  # instance's environment (make buildenv). Is overwritten by ${SEARXNG_PORT}
  70.   # and ${SEARXNG_BIND_ADDRESS}
  71.   port: 8888
  72.   bind_address: "127.0.0.1"
  73.   # public URL of the instance, to ensure correct inbound links. Is overwritten
  74.   # by ${SEARXNG_URL}.
  75.   base_url: /  # "http://example.com/location"
  76.   limiter: false  # rate limit the number of request on the instance, block some bots
  77.  
  78.   # If your instance owns a /etc/searxng/settings.yml file, then set the following
  79.   # values there.
  80.  
  81.   secret_key: "97b432fa47eed204c619616a5ff785b0f75bd0f2dd15a3e12099324433b48450"  # Is overwritten by ${SEARXNG_SECRET}
  82.   # Proxying image results through searx
  83.   image_proxy: true
  84.   # 1.0 and 1.1 are supported
  85.   http_protocol_version: "1.0"
  86.   # POST queries are more secure as they don't show up in history but may cause
  87.  # problems when using Firefox containers
  88.  method: "POST"
  89.  default_http_headers:
  90.    X-Content-Type-Options: nosniff
  91.    X-XSS-Protection: 1; mode=block
  92.    X-Download-Options: noopen
  93.    X-Robots-Tag: noindex, nofollow
  94.    Referrer-Policy: no-referrer
  95.  
  96. redis:
  97.  # URL to connect redis database. Is overwritten by ${SEARXNG_REDIS_URL}.
  98.  # https://redis-py.readthedocs.io/en/stable/connections.html#redis.client.Redis.from_url
  99.  url: false
  100.  
  101. ui:
  102.  # Custom static path - leave it blank if you didn't change
  103.   static_path: ""
  104.   static_use_hash: false
  105.   # Custom templates path - leave it blank if you didn't change
  106.  templates_path: ""
  107.  # query_in_title: When true, the result page's titles contains the query
  108.   # it decreases the privacy, since the browser can records the page titles.
  109.   query_in_title: false
  110.   # infinite_scroll: When true, automatically loads the next page when scrolling to bottom of the current page.
  111.   infinite_scroll: false
  112.   # ui theme
  113.   default_theme: simple
  114.   # center the results ?
  115.   center_alignment: true
  116.   # URL prefix of the internet archive, don't forgett trailing slash (if needed).
  117.  # cache_url: "https://webcache.googleusercontent.com/search?q=cache:"
  118.  # Default interface locale - leave blank to detect from browser information or
  119.  # use codes from the 'locales' config section
  120.  default_locale: ""
  121.  # Open result links in a new tab by default
  122.  results_on_new_tab: true
  123.  theme_args:
  124.    # style of simple theme: auto, light, dark
  125.    simple_style: dark
  126.  
  127. # Lock arbitrary settings on the preferences page.  To find the ID of the user
  128. # setting you want to lock, check the ID of the form on the page "preferences".
  129. #
  130. # preferences:
  131. #   lock:
  132. #     - language
  133. #     - autocomplete
  134. #     - method
  135. #     - query_in_title
  136.  
  137. # searx supports result proxification using an external service:
  138. # https://github.com/asciimoo/morty uncomment below section if you have running
  139. # morty proxy the key is base64 encoded (keep the !!binary notation)
  140. # Note: since commit af77ec3, morty accepts a base64 encoded key.
  141. #
  142. # result_proxy:
  143. #   url: http://127.0.0.1:3000/
  144. #   # the key is a base64 encoded string, the YAML !!binary prefix is optional
  145. #   key: !!binary "your_morty_proxy_key"
  146. #   # [true|false] enable the "proxy" button next to each result
  147. #   proxify_results: true
  148.  
  149. # communication with search engines
  150. #
  151. outgoing:
  152.  # default timeout in seconds, can be override by engine
  153.  request_timeout: 3.0
  154.  # the maximum timeout in seconds
  155.  # max_request_timeout: 10.0
  156.  # suffix of searx_useragent, could contain information like an email address
  157.  # to the administrator
  158.  useragent_suffix: ""
  159.  # The maximum number of concurrent connections that may be established.
  160.  pool_connections: 100
  161.  # Allow the connection pool to maintain keep-alive connections below this
  162.  # point.
  163.  pool_maxsize: 20
  164.  # See https://www.python-httpx.org/http2/
  165.  enable_http2: true
  166.  # uncomment below section if you want to use a custom server certificate
  167.  # see https://www.python-httpx.org/advanced/#changing-the-verification-defaults
  168.  # and https://www.python-httpx.org/compatibility/#ssl-configuration
  169.  #  verify: ~/.mitmproxy/mitmproxy-ca-cert.cer
  170.  #
  171.  # uncomment below section if you want to use a proxyq see: SOCKS proxies
  172.  #   https://2.python-requests.org/en/latest/user/advanced/#proxies
  173.  # are also supported: see
  174.  #   https://2.python-requests.org/en/latest/user/advanced/#socks
  175.  #
  176.  #  proxies:
  177.  #    all://:
  178.  #      - http://proxy1:8080
  179.  #      - http://proxy2:8080
  180.  #
  181.  #  using_tor_proxy: true
  182.  #
  183.  # Extra seconds to add in order to account for the time taken by the proxy
  184.  #
  185.  #  extra_proxy_timeout: 10.0
  186.  #
  187.  # uncomment below section only if you have more than one network interface
  188.  # which can be the source of outgoing search requests
  189.  #
  190.  #  source_ips:
  191.  #    - 1.1.1.1
  192.  #    - 1.1.1.2
  193.  #    - fe80::/126
  194.  
  195. # External plugin configuration, for more details see
  196. #   https://docs.searxng.org/dev/plugins.html
  197. #
  198. # plugins:
  199. #   - plugin1
  200. #   - plugin2
  201. #   - ...
  202.  
  203. # Comment or un-comment plugin to activate / deactivate by default.
  204. #
  205. # enabled_plugins:
  206. #   # these plugins are enabled if nothing is configured ..
  207. #   - 'Hash plugin'
  208. #   - 'Search on category select'
  209. #   - 'Self Information'
  210. #   - 'Tracker URL remover'
  211. #   - 'Ahmia blacklist'  # activation depends on outgoing.using_tor_proxy
  212. #   # these plugins are disabled if nothing is configured ..
  213. #   - 'Hostname replace'  # see hostname_replace configuration below
  214. #   - 'Open Access DOI rewrite'
  215. #   - 'Vim-like hotkeys'
  216. #   - 'Tor check plugin'
  217. #   # Read the docs before activate: auto-detection of the language could be
  218. #   # detrimental to users expectations / users can activate the plugin in the
  219. #   # preferences if they want.
  220. #   - 'Autodetect search language'
  221.  
  222. # Configuration of the "Hostname replace" plugin:
  223. #
  224. # hostname_replace:
  225. #   '(.*\.)?youtube\.com$': 'invidious.example.com'
  226. #   '(.*\.)?youtu\.be$': 'invidious.example.com'
  227. #   '(.*\.)?youtube-noocookie\.com$': 'yotter.example.com'
  228. #   '(.*\.)?reddit\.com$': 'teddit.example.com'
  229. #   '(.*\.)?redd\.it$': 'teddit.example.com'
  230. #   '(www\.)?twitter\.com$': 'nitter.example.com'
  231. #   # to remove matching host names from result list, set value to false
  232. #   'spam\.example\.com': false
  233.  
  234. checker:
  235.  # disable checker when in debug mode
  236.  off_when_debug: true
  237.  
  238.  # use "scheduling: false" to disable scheduling
  239.  # scheduling: interval or int
  240.  
  241.  # to activate the scheduler:
  242.  # * uncomment "scheduling" section
  243.  # * add "cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1"
  244.  #   to your uwsgi.ini
  245.  
  246.  # scheduling:
  247.  #   start_after: [300, 1800]  # delay to start the first run of the checker
  248.  #   every: [86400, 90000]     # how often the checker runs
  249.  
  250.  # additional tests: only for the YAML anchors (see the engines section)
  251.  #
  252.  additional_tests:
  253.    rosebud: &test_rosebud
  254.      matrix:
  255.        query: rosebud
  256.        lang: en
  257.      result_container:
  258.        - not_empty
  259.        - ['one_title_contains', 'citizen kane']
  260.      test:
  261.        - unique_results
  262.  
  263.    android: &test_android
  264.      matrix:
  265.        query: ['android']
  266.        lang: ['en', 'de', 'fr', 'zh-CN']
  267.      result_container:
  268.        - not_empty
  269.        - ['one_title_contains', 'google']
  270.      test:
  271.        - unique_results
  272.  
  273.  # tests: only for the YAML anchors (see the engines section)
  274.  tests:
  275.    infobox: &tests_infobox
  276.      infobox:
  277.        matrix:
  278.          query: ["linux", "new york", "bbc"]
  279.        result_container:
  280.          - has_infobox
  281.  
  282. categories_as_tabs:
  283.  general:
  284.  images:
  285.  videos:
  286.  news:
  287.  map:
  288.  music:
  289.  it:
  290.  science:
  291.  files:
  292.  social media:
  293.  
  294. engines:
  295.  - name: 9gag
  296.    engine: 9gag
  297.    shortcut: 9g
  298.    disabled: true
  299.  
  300.  - name: apk mirror
  301.    engine: apkmirror
  302.    timeout: 4.0
  303.    shortcut: apkm
  304.    disabled: true
  305.  
  306.  - name: apple app store
  307.    engine: apple_app_store
  308.    shortcut: aps
  309.    disabled: true
  310.  
  311.  # Requires Tor
  312.  - name: ahmia
  313.    engine: ahmia
  314.    categories: onions
  315.    enable_http: true
  316.    shortcut: ah
  317.  
  318.  - name: arch linux wiki
  319.    engine: archlinux
  320.    shortcut: al
  321.  
  322.  - name: archive is
  323.    engine: xpath
  324.    search_url: https://archive.is/search/?q={query}
  325.    url_xpath: (//div[@class="TEXT-BLOCK"]/a)/@href
  326.    title_xpath: (//div[@class="TEXT-BLOCK"]/a)
  327.    content_xpath: //div[@class="TEXT-BLOCK"]/ul/li
  328.    categories: general
  329.    timeout: 7.0
  330.    disabled: true
  331.    shortcut: ai
  332.    soft_max_redirects: 1
  333.    about:
  334.      website: https://archive.is/
  335.      wikidata_id: Q13515725
  336.      official_api_documentation: https://mementoweb.org/depot/native/archiveis/
  337.      use_official_api: false
  338.      require_api_key: false
  339.      results: HTML
  340.  
  341.  - name: artic
  342.    engine: artic
  343.    shortcut: arc
  344.    disabled: true
  345.    timeout: 4.0
  346.  
  347.  - name: arxiv
  348.    engine: arxiv
  349.    shortcut: arx
  350.    disabled: true
  351.    timeout: 4.0
  352.  
  353.  # tmp suspended:  dh key too small
  354.  # - name: base
  355.  #   engine: base
  356.  #   shortcut: bs
  357.  
  358.  - name: bandcamp
  359.    engine: bandcamp
  360.    shortcut: bc
  361.    disabled: true
  362.    categories: music
  363.  
  364.  - name: wikipedia
  365.    engine: wikipedia
  366.    shortcut: wp
  367.    disabled: true
  368.    base_url: 'https://{language}.wikipedia.org/'
  369.  
  370.   - name: bing
  371.     engine: bing
  372.     shortcut: bi
  373.     disabled: true
  374.  
  375.   - name: bing images
  376.     engine: bing_images
  377.     shortcut: bii
  378.  
  379.   - name: bing news
  380.     engine: bing_news
  381.     shortcut: bin
  382.  
  383.   - name: bing videos
  384.     engine: bing_videos
  385.     shortcut: biv
  386.     disabled: true
  387.  
  388.   - name: bitbucket
  389.     engine: xpath
  390.     paging: true
  391.     search_url: https://bitbucket.org/repo/all/{pageno}?name={query}
  392.     url_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  393.     title_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]
  394.     content_xpath: //article[@class="repo-summary"]/p
  395.     categories: [it, repos]
  396.     timeout: 4.0
  397.     disabled: true
  398.     shortcut: bb
  399.     about:
  400.       website: https://bitbucket.org/
  401.       wikidata_id: Q2493781
  402.       official_api_documentation: https://developer.atlassian.com/bitbucket
  403.       use_official_api: false
  404.       require_api_key: false
  405.       results: HTML
  406.  
  407.   - name: btdigg
  408.     engine: btdigg
  409.     shortcut: bt
  410.  
  411.   - name: ccc-tv
  412.     engine: xpath
  413.     paging: false
  414.     search_url: https://media.ccc.de/search/?q={query}
  415.     url_xpath: //div[@class="caption"]/h3/a/@href
  416.     title_xpath: //div[@class="caption"]/h3/a/text()
  417.     content_xpath: //div[@class="caption"]/h4/@title
  418.     categories: videos
  419.     disabled: true
  420.     shortcut: c3tv
  421.     about:
  422.       website: https://media.ccc.de/
  423.       wikidata_id: Q80729951
  424.       official_api_documentation: https://github.com/voc/voctoweb
  425.       use_official_api: false
  426.       require_api_key: false
  427.       results: HTML
  428.       # We don't set language: de here because media.ccc.de is not just
  429.      # for a German audience. It contains many English videos and many
  430.      # German videos have English subtitles.
  431.  
  432.  - name: openverse
  433.    engine: openverse
  434.    categories: images
  435.    shortcut: opv
  436.    disabled: true
  437.  
  438.  # - name: core.ac.uk
  439.  #   engine: core
  440.  #   categories: science
  441.  #   shortcut: cor
  442.  #   # get your API key from: https://core.ac.uk/api-keys/register/
  443.  #   api_key: 'unset'
  444.  
  445.  - name: crossref
  446.    engine: crossref
  447.    shortcut: cr
  448.    timeout: 30
  449.    disabled: true
  450.  
  451.  - name: yep
  452.    engine: json_engine
  453.    shortcut: yep
  454.    categories: general
  455.    disabled: true
  456.    paging: false
  457.    content_html_to_text: true
  458.    title_html_to_text: true
  459.    search_url: https://api.yep.com/fs/1/?type=web&q={query}&no_correct=false&limit=100
  460.    results_query: 1/results
  461.    title_query: title
  462.    url_query: url
  463.    content_query: snippet
  464.    about:
  465.      website: https://yep.com
  466.      use_official_api: false
  467.      require_api_key: false
  468.      results: JSON
  469.  
  470.  - name: curlie
  471.    engine: xpath
  472.    shortcut: cl
  473.    categories: general
  474.    disabled: true
  475.    paging: true
  476.    lang_all: ''
  477.    search_url: https://curlie.org/search?q={query}&lang={lang}&start={pageno}&stime=92452189
  478.    page_size: 20
  479.    results_xpath: //div[@id="site-list-content"]/div[@class="site-item"]
  480.    url_xpath: ./div[@class="title-and-desc"]/a/@href
  481.    title_xpath: ./div[@class="title-and-desc"]/a/div
  482.    content_xpath: ./div[@class="title-and-desc"]/div[@class="site-descr"]
  483.    about:
  484.      website: https://curlie.org/
  485.      wikidata_id: Q60715723
  486.      use_official_api: false
  487.      require_api_key: false
  488.      results: HTML
  489.  
  490.  - name: currency
  491.    engine: currency_convert
  492.    categories: general
  493.    shortcut: cc
  494.    disabled: true
  495.  
  496.  - name: deezer
  497.    engine: deezer
  498.    shortcut: dz
  499.    disabled: true
  500.  
  501.  - name: deviantart
  502.    engine: deviantart
  503.    shortcut: da
  504.    disabled: true
  505.    timeout: 3.0
  506.  
  507.  - name: ddg definitions
  508.    engine: duckduckgo_definitions
  509.    shortcut: ddd
  510.    weight: 2
  511.    disabled: true
  512.    tests: *tests_infobox
  513.  
  514.  # cloudflare protected
  515.  # - name: digbt
  516.  #   engine: digbt
  517.  #   shortcut: dbt
  518.  #   timeout: 6.0
  519.  #   disabled: true
  520.  
  521.  - name: docker hub
  522.    engine: docker_hub
  523.    shortcut: dh
  524.    categories: [it, packages]
  525.  
  526.  - name: erowid
  527.    engine: xpath
  528.    paging: true
  529.    first_page_num: 0
  530.    page_size: 30
  531.    search_url: https://www.erowid.org/search.php?q={query}&s={pageno}
  532.    url_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  533.    title_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  534.    content_xpath: //dl[@class="results-list"]/dd[@class="result-details"]
  535.    categories: []
  536.    shortcut: ew
  537.    disabled: true
  538.    about:
  539.      website: https://www.erowid.org/
  540.      wikidata_id: Q1430691
  541.      official_api_documentation:
  542.      use_official_api: false
  543.      require_api_key: false
  544.      results: HTML
  545.  
  546.  # - name: elasticsearch
  547.  #   shortcut: es
  548.  #   engine: elasticsearch
  549.  #   base_url: http://localhost:9200
  550.  #   username: elastic
  551.  #   password: changeme
  552.  #   index: my-index
  553.  #   # available options: match, simple_query_string, term, terms, custom
  554.  #   query_type: match
  555.  #   # if query_type is set to custom, provide your query here
  556.  #   #custom_query_json: {"query":{"match_all": {}}}
  557.  #   #show_metadata: false
  558.  #   disabled: true
  559.  
  560.  - name: wikidata
  561.    engine: wikidata
  562.    shortcut: wd
  563.    disabled: true
  564.    timeout: 3.0
  565.    weight: 2
  566.    tests: *tests_infobox
  567.    
  568.  
  569.  - name: duckduckgo
  570.    engine: duckduckgo
  571.    timeout: 3.0
  572.    shortcut: ddg
  573.    disabled: true
  574.  
  575.  - name: duckduckgo images
  576.    engine: duckduckgo_images
  577.    shortcut: ddi
  578.    timeout: 3.0
  579.    disabled: true
  580.  
  581.  - name: duckduckgo weather
  582.    engine: duckduckgo_weather
  583.    shortcut: ddw
  584.    disabled: true
  585.  
  586.  - name: apple maps
  587.    engine: apple_maps
  588.    shortcut: apm
  589.    disabled: true
  590.    timeout: 5.0
  591.  
  592.  - name: emojipedia
  593.    engine: emojipedia
  594.    timeout: 4.0
  595.    shortcut: em
  596.    disabled: true
  597.  
  598.  - name: tineye
  599.    engine: tineye
  600.    shortcut: tin
  601.    timeout: 9.0
  602.    disabled: true
  603.  
  604.  - name: etymonline
  605.    engine: xpath
  606.    paging: true
  607.    search_url: https://etymonline.com/search?page={pageno}&q={query}
  608.    url_xpath: //a[contains(@class, "word__name--")]/@href
  609.    title_xpath: //a[contains(@class, "word__name--")]
  610.    content_xpath: //section[contains(@class, "word__defination")]
  611.    first_page_num: 1
  612.    shortcut: et
  613.    categories: [dictionaries]
  614.    disabled: false
  615.    about:
  616.      website: https://www.etymonline.com/
  617.      wikidata_id: Q1188617
  618.      official_api_documentation:
  619.      use_official_api: false
  620.      require_api_key: false
  621.      results: HTML
  622.  
  623.  # - name: ebay
  624.  #   engine: ebay
  625.  #   shortcut: eb
  626.  #   base_url: 'https://www.ebay.com'
  627.   #   disabled: true
  628.   #   timeout: 5
  629.  
  630.   - name: 1x
  631.     engine: www1x
  632.     shortcut: 1x
  633.     timeout: 3.0
  634.     disabled: true
  635.  
  636.   - name: fdroid
  637.     engine: fdroid
  638.     shortcut: fd
  639.     disabled: false
  640.  
  641.   - name: flickr
  642.     categories: images
  643.     shortcut: fl
  644.     disabled: true
  645.     # You can use the engine using the official stable API, but you need an API
  646.     # key, see: https://www.flickr.com/services/apps/create/
  647.     # engine: flickr
  648.     # api_key: 'apikey' # required!
  649.     # Or you can use the html non-stable engine, activated by default
  650.     engine: flickr_noapi
  651.  
  652.   - name: free software directory
  653.     engine: mediawiki
  654.     shortcut: fsd
  655.     categories: [it, software wikis]
  656.     base_url: https://directory.fsf.org/
  657.     number_of_results: 5
  658.     # what part of a page matches the query string: title, text, nearmatch
  659.     # * title     - query matches title
  660.     # * text      - query matches the text of page
  661.     # * nearmatch - nearmatch in title
  662.     search_type: title
  663.     timeout: 5.0
  664.     disabled: true
  665.     about:
  666.       website: https://directory.fsf.org/
  667.       wikidata_id: Q2470288
  668.  
  669.   # - name: freesound
  670.   #   engine: freesound
  671.   #   shortcut: fnd
  672.   #   disabled: true
  673.   #   timeout: 15.0
  674.   # API key required, see: https://freesound.org/docs/api/overview.html
  675.   #   api_key: MyAPIkey
  676.  
  677.   - name: frinkiac
  678.     engine: frinkiac
  679.     shortcut: frk
  680.     disabled: true
  681.  
  682.   - name: genius
  683.     engine: genius
  684.     shortcut: gen
  685.  
  686.   - name: gentoo
  687.     engine: gentoo
  688.     shortcut: ge
  689.     timeout: 10.0
  690.  
  691.   - name: gitlab
  692.     engine: json_engine
  693.     paging: true
  694.     search_url: https://gitlab.com/api/v4/projects?search={query}&page={pageno}
  695.     url_query: web_url
  696.     title_query: name_with_namespace
  697.     content_query: description
  698.     page_size: 20
  699.     categories: [it, repos]
  700.     shortcut: gl
  701.     timeout: 10.0
  702.     disabled: true
  703.     about:
  704.       website: https://about.gitlab.com/
  705.       wikidata_id: Q16639197
  706.       official_api_documentation: https://docs.gitlab.com/ee/api/
  707.       use_official_api: false
  708.       require_api_key: false
  709.       results: JSON
  710.  
  711.   - name: github
  712.     engine: github
  713.     shortcut: gh
  714.  
  715.     # This a Gitea service. If you would like to use a different instance,
  716.     # change codeberg.org to URL of the desired Gitea host. Or you can create a
  717.     # new engine by copying this and changing the name, shortcut and search_url.
  718.  
  719.   - name: codeberg
  720.     engine: json_engine
  721.     search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10
  722.     url_query: html_url
  723.     title_query: name
  724.     content_query: description
  725.     categories: [it, repos]
  726.     shortcut: cb
  727.     disabled: true
  728.     about:
  729.       website: https://codeberg.org/
  730.       wikidata_id:
  731.       official_api_documentation: https://try.gitea.io/api/swagger
  732.       use_official_api: false
  733.       require_api_key: false
  734.       results: JSON
  735.  
  736.   - name: google
  737.     engine: google
  738.     shortcut: go
  739.     # additional_tests:
  740.     #   android: *test_android
  741.  
  742.   - name: google images
  743.     engine: google_images
  744.     shortcut: goi
  745.     # additional_tests:
  746.     #   android: *test_android
  747.     #   dali:
  748.     #     matrix:
  749.     #       query: ['Dali Christ']
  750.     #       lang: ['en', 'de', 'fr', 'zh-CN']
  751.     #     result_container:
  752.     #       - ['one_title_contains', 'Salvador']
  753.  
  754.   - name: google news
  755.     engine: google_news
  756.     shortcut: gon
  757.     # additional_tests:
  758.     #   android: *test_android
  759.  
  760.   - name: google videos
  761.     engine: google_videos
  762.     shortcut: gov
  763.     # additional_tests:
  764.     #   android: *test_android
  765.  
  766.   - name: google scholar
  767.     engine: google_scholar
  768.     shortcut: gos
  769.  
  770.   - name: google play apps
  771.     engine: google_play
  772.     categories: [files, apps]
  773.     shortcut: gpa
  774.     play_categ: apps
  775.     disabled: true
  776.  
  777.   - name: google play movies
  778.     engine: google_play
  779.     categories: videos
  780.     shortcut: gpm
  781.     play_categ: movies
  782.     disabled: true
  783.  
  784.   - name: gpodder
  785.     engine: json_engine
  786.     shortcut: gpod
  787.     timeout: 4.0
  788.     paging: false
  789.     search_url: https://gpodder.net/search.json?q={query}
  790.     url_query: url
  791.     title_query: title
  792.     content_query: description
  793.     page_size: 19
  794.     categories: music
  795.     disabled: true
  796.     about:
  797.       website: https://gpodder.net
  798.       wikidata_id: Q3093354
  799.       official_api_documentation: https://gpoddernet.readthedocs.io/en/latest/api/
  800.       use_official_api: false
  801.       requires_api_key: false
  802.       results: JSON
  803.  
  804.   - name: habrahabr
  805.     engine: xpath
  806.     paging: true
  807.     search_url: https://habrahabr.ru/search/page{pageno}/?q={query}
  808.     url_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  809.     title_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]
  810.     content_xpath: //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  811.     categories: it
  812.     timeout: 4.0
  813.     disabled: true
  814.     shortcut: habr
  815.     about:
  816.       website: https://habr.com/
  817.       wikidata_id: Q4494434
  818.       official_api_documentation: https://habr.com/en/docs/help/api/
  819.       use_official_api: false
  820.       require_api_key: false
  821.       results: HTML
  822.  
  823.   - name: hoogle
  824.     engine: xpath
  825.     paging: true
  826.     search_url: https://hoogle.haskell.org/?hoogle={query}&start={pageno}
  827.     results_xpath: '//div[@class="result"]'
  828.     title_xpath: './/div[@class="ans"]//a'
  829.     url_xpath: './/div[@class="ans"]//a/@href'
  830.     content_xpath: './/div[@class="from"]'
  831.     page_size: 20
  832.     categories: [it, packages]
  833.     shortcut: ho
  834.     about:
  835.       website: https://hoogle.haskell.org/
  836.       wikidata_id: Q34010
  837.       official_api_documentation: https://hackage.haskell.org/api
  838.       use_official_api: false
  839.       require_api_key: false
  840.       results: JSON
  841.  
  842.   - name: imdb
  843.     engine: imdb
  844.     shortcut: imdb
  845.     timeout: 6.0
  846.     disabled: false
  847.  
  848.   - name: ina
  849.     engine: ina
  850.     shortcut: in
  851.     timeout: 6.0
  852.     disabled: true
  853.  
  854.   - name: invidious
  855.     engine: invidious
  856.     # Instanes will be selected randomly, see https://api.invidious.io/ for
  857.     # instances that are stable (good uptime) and close to you.
  858.     base_url:
  859.       - https://invidious.snopyta.org
  860.       - https://vid.puffyan.us
  861.       # - https://invidious.kavin.rocks  # Error 1020 // Access denied by Cloudflare
  862.       - https://invidio.xamh.de
  863.       - https://inv.riverside.rocks
  864.     shortcut: iv
  865.     timeout: 3.0
  866.     disabled: true
  867.  
  868.   - name: jisho
  869.     engine: jisho
  870.     shortcut: js
  871.     timeout: 3.0
  872.     disabled: true
  873.  
  874.   - name: kickass
  875.     engine: kickass
  876.     shortcut: kc
  877.     timeout: 4.0
  878.     disabled: false
  879.  
  880.   - name: library genesis
  881.     engine: xpath
  882.     search_url: https://libgen.fun/search.php?req={query}
  883.     url_xpath: //a[contains(@href,"get.php?md5")]/@href
  884.     title_xpath: //a[contains(@href,"book/")]/text()[1]
  885.     content_xpath: //td/a[1][contains(@href,"=author")]/text()
  886.     categories: files
  887.     timeout: 7.0
  888.     disabled: true
  889.     shortcut: lg
  890.     about:
  891.       website: https://libgen.fun/
  892.       wikidata_id: Q22017206
  893.       official_api_documentation:
  894.       use_official_api: false
  895.       require_api_key: false
  896.       results: HTML
  897.  
  898.   # Disabling zlibrary due to z-lib.org domain seizure
  899.   # https://github.com/searxng/searxng/pull/1937
  900.   #
  901.   # - name: z-library
  902.   #   engine: zlibrary
  903.   #   shortcut: zlib
  904.   #   categories: files
  905.   #   timeout: 3.0
  906.   #   # choose base_url, otherwise engine will do it at initialization time
  907.   #   # base_url: https://b-ok.cc
  908.   #   # base_url: https://de1lib.org
  909.   #   # base_url: https://booksc.eu   # does not have cover preview
  910.   #   # base_url: https://booksc.org  # does not have cover preview
  911.  
  912.   - name: library of congress
  913.     engine: loc
  914.     shortcut: loc
  915.     disabled: true
  916.     categories: images
  917.  
  918.   - name: lingva
  919.     engine: lingva
  920.     shortcut: lv
  921.     disabled: true
  922.     # set lingva instance in url, by default it will use the official instance
  923.     # url: https://lingva.ml
  924.  
  925.   - name: lobste.rs
  926.     engine: xpath
  927.     search_url: https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  928.     results_xpath: //li[contains(@class, "story")]
  929.     url_xpath: .//a[@class="u-url"]/@href
  930.     title_xpath: .//a[@class="u-url"]
  931.     content_xpath: .//a[@class="domain"]
  932.     categories: it
  933.     shortcut: lo
  934.     timeout: 5.0
  935.     disabled: true
  936.     about:
  937.       website: https://lobste.rs/
  938.       wikidata_id: Q60762874
  939.       official_api_documentation:
  940.       use_official_api: false
  941.       require_api_key: false
  942.       results: HTML
  943.  
  944.   - name: azlyrics
  945.     shortcut: lyrics
  946.     engine: xpath
  947.     timeout: 4.0
  948.     disabled: true
  949.     categories: [music, lyrics]
  950.     paging: true
  951.     search_url: https://search.azlyrics.com/search.php?q={query}&w=lyrics&p={pageno}
  952.     url_xpath: //td[@class="text-left visitedlyr"]/a/@href
  953.     title_xpath: //span/b/text()
  954.     content_xpath: //td[@class="text-left visitedlyr"]/a/small
  955.     about:
  956.       website: https://azlyrics.com
  957.       wikidata_id: Q66372542
  958.       official_api_documentation:
  959.       use_official_api: false
  960.       require_api_key: false
  961.       results: HTML
  962.  
  963.   - name: metacpan
  964.     engine: metacpan
  965.     shortcut: cpan
  966.     disabled: true
  967.     number_of_results: 20
  968.  
  969.   # - name: meilisearch
  970.   #   engine: meilisearch
  971.   #   shortcut: mes
  972.   #   enable_http: true
  973.   #   base_url: http://localhost:7700
  974.   #   index: my-index
  975.  
  976.   - name: mixcloud
  977.     engine: mixcloud
  978.     shortcut: mc
  979.  
  980.   # MongoDB engine
  981.   # Required dependency: pymongo
  982.   # - name: mymongo
  983.   #   engine: mongodb
  984.   #   shortcut: md
  985.   #   exact_match_only: false
  986.   #   host: '127.0.0.1'
  987.   #   port: 27017
  988.   #   enable_http: true
  989.   #   results_per_page: 20
  990.   #   database: 'business'
  991.   #   collection: 'reviews'  # name of the db collection
  992.   #   key: 'name'  # key in the collection to search for
  993.  
  994.   - name: npm
  995.     engine: json_engine
  996.     paging: true
  997.     first_page_num: 0
  998.     search_url: https://api.npms.io/v2/search?q={query}&size=25&from={pageno}
  999.     results_query: results
  1000.     url_query: package/links/npm
  1001.     title_query: package/name
  1002.     content_query: package/description
  1003.     page_size: 25
  1004.     categories: [it, packages]
  1005.     disabled: true
  1006.     timeout: 5.0
  1007.     shortcut: npm
  1008.     about:
  1009.       website: https://npms.io/
  1010.       wikidata_id: Q7067518
  1011.       official_api_documentation: https://api-docs.npms.io/
  1012.       use_official_api: false
  1013.       require_api_key: false
  1014.       results: JSON
  1015.  
  1016.   - name: nyaa
  1017.     engine: nyaa
  1018.     shortcut: nt
  1019.     disabled: false
  1020.  
  1021.   - name: mankier
  1022.     engine: json_engine
  1023.     search_url: https://www.mankier.com/api/v2/mans/?q={query}
  1024.     results_query: results
  1025.     url_query: url
  1026.     title_query: name
  1027.     content_query: description
  1028.     categories: it
  1029.     shortcut: man
  1030.     about:
  1031.       website: https://www.mankier.com/
  1032.       official_api_documentation: https://www.mankier.com/api
  1033.       use_official_api: true
  1034.       require_api_key: false
  1035.       results: JSON
  1036.  
  1037.   - name: openairedatasets
  1038.     engine: json_engine
  1039.     paging: true
  1040.     search_url: https://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
  1041.     results_query: response/results/result
  1042.     url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  1043.     title_query: metadata/oaf:entity/oaf:result/title/$
  1044.     content_query: metadata/oaf:entity/oaf:result/description/$
  1045.     content_html_to_text: true
  1046.     categories: "science"
  1047.     shortcut: oad
  1048.     timeout: 5.0
  1049.     about:
  1050.       website: https://www.openaire.eu/
  1051.       wikidata_id: Q25106053
  1052.       official_api_documentation: https://api.openaire.eu/
  1053.       use_official_api: false
  1054.       require_api_key: false
  1055.       results: JSON
  1056.  
  1057.   - name: openairepublications
  1058.     engine: json_engine
  1059.     paging: true
  1060.     search_url: https://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
  1061.     results_query: response/results/result
  1062.     url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  1063.     title_query: metadata/oaf:entity/oaf:result/title/$
  1064.     content_query: metadata/oaf:entity/oaf:result/description/$
  1065.     content_html_to_text: true
  1066.     categories: science
  1067.     shortcut: oap
  1068.     timeout: 5.0
  1069.     about:
  1070.       website: https://www.openaire.eu/
  1071.       wikidata_id: Q25106053
  1072.       official_api_documentation: https://api.openaire.eu/
  1073.       use_official_api: false
  1074.       require_api_key: false
  1075.       results: JSON
  1076.  
  1077.   # - name: opensemanticsearch
  1078.   #   engine: opensemantic
  1079.   #   shortcut: oss
  1080.   #   base_url: 'http://localhost:8983/solr/opensemanticsearch/'
  1081.  
  1082.   - name: openstreetmap
  1083.     engine: openstreetmap
  1084.     shortcut: osm
  1085.  
  1086.   - name: openrepos
  1087.     engine: xpath
  1088.     paging: true
  1089.     search_url: https://openrepos.net/search/node/{query}?page={pageno}
  1090.     url_xpath: //li[@class="search-result"]//h3[@class="title"]/a/@href
  1091.     title_xpath: //li[@class="search-result"]//h3[@class="title"]/a
  1092.     content_xpath: //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  1093.     categories: files
  1094.     timeout: 4.0
  1095.     disabled: true
  1096.     shortcut: or
  1097.     about:
  1098.       website: https://openrepos.net/
  1099.       wikidata_id:
  1100.       official_api_documentation:
  1101.       use_official_api: false
  1102.       require_api_key: false
  1103.       results: HTML
  1104.  
  1105.   - name: packagist
  1106.     engine: json_engine
  1107.     paging: true
  1108.     search_url: https://packagist.org/search.json?q={query}&page={pageno}
  1109.     results_query: results
  1110.     url_query: url
  1111.     title_query: name
  1112.     content_query: description
  1113.     categories: [it, packages]
  1114.     disabled: true
  1115.     timeout: 5.0
  1116.     shortcut: pack
  1117.     about:
  1118.       website: https://packagist.org
  1119.       wikidata_id: Q108311377
  1120.       official_api_documentation: https://packagist.org/apidoc
  1121.       use_official_api: true
  1122.       require_api_key: false
  1123.       results: JSON
  1124.  
  1125.   - name: pdbe
  1126.     engine: pdbe
  1127.     shortcut: pdb
  1128.     # Hide obsolete PDB entries.  Default is not to hide obsolete structures
  1129.     #  hide_obsolete: false
  1130.  
  1131.   - name: photon
  1132.     engine: photon
  1133.     shortcut: ph
  1134.  
  1135.   - name: piratebay
  1136.     engine: piratebay
  1137.     shortcut: tpb
  1138.     # You may need to change this URL to a proxy if piratebay is blocked in your
  1139.     # country
  1140.     url: https://thepiratebay.org/
  1141.     timeout: 3.0
  1142.  
  1143.   # Required dependency: psychopg2
  1144.   #  - name: postgresql
  1145.   #    engine: postgresql
  1146.   #    database: postgres
  1147.   #    username: postgres
  1148.   #    password: postgres
  1149.   #    limit: 10
  1150.   #    query_str: 'SELECT * from my_table WHERE my_column = %(query)s'
  1151.   #    shortcut : psql
  1152.  
  1153.   - name: pub.dev
  1154.     engine: xpath
  1155.     shortcut: pd
  1156.     search_url: https://pub.dev/packages?q={query}&page={pageno}
  1157.     paging: true
  1158.     results_xpath: /html/body/main/div/div[@class="search-results"]/div[@class="packages"]/div
  1159.     url_xpath: ./div/h3/a/@href
  1160.     title_xpath: ./div/h3/a
  1161.     content_xpath: ./p[@class="packages-description"]
  1162.     categories: [packages, it]
  1163.     timeout: 3.0
  1164.     disabled: true
  1165.     first_page_num: 1
  1166.     about:
  1167.       website: https://pub.dev/
  1168.       official_api_documentation: https://pub.dev/help/api
  1169.       use_official_api: false
  1170.       require_api_key: false
  1171.       results: HTML
  1172.  
  1173.   - name: pubmed
  1174.     engine: pubmed
  1175.     shortcut: pub
  1176.     timeout: 3.0
  1177.  
  1178.   - name: pypi
  1179.     shortcut: pypi
  1180.     engine: xpath
  1181.     paging: true
  1182.     search_url: https://pypi.org/search?q={query}&page={pageno}
  1183.     results_xpath: /html/body/main/div/div/div/form/div/ul/li/a[@class="package-snippet"]
  1184.     url_xpath: ./@href
  1185.     title_xpath: ./h3/span[@class="package-snippet__name"]
  1186.     content_xpath: ./p
  1187.     suggestion_xpath: /html/body/main/div/div/div/form/div/div[@class="callout-block"]/p/span/a[@class="link"]
  1188.     first_page_num: 1
  1189.     categories: [it, packages]
  1190.     about:
  1191.       website: https://pypi.org
  1192.       wikidata_id: Q2984686
  1193.       official_api_documentation: https://warehouse.readthedocs.io/api-reference/index.html
  1194.       use_official_api: false
  1195.       require_api_key: false
  1196.       results: HTML
  1197.  
  1198.   - name: qwant
  1199.     qwant_categ: web
  1200.     engine: qwant
  1201.     shortcut: qw
  1202.     categories: [general, web]
  1203.     disabled: true
  1204.     additional_tests:
  1205.       rosebud: *test_rosebud
  1206.  
  1207.   - name: qwant news
  1208.     qwant_categ: news
  1209.     engine: qwant
  1210.     shortcut: qwn
  1211.     categories: news
  1212.     disabled: true
  1213.     network: qwant
  1214.  
  1215.   - name: qwant images
  1216.     qwant_categ: images
  1217.     engine: qwant
  1218.     shortcut: qwi
  1219.     categories: [images, web]
  1220.     disabled: true
  1221.     network: qwant
  1222.  
  1223.   - name: qwant videos
  1224.     qwant_categ: videos
  1225.     engine: qwant
  1226.     shortcut: qwv
  1227.     categories: [videos, web]
  1228.     disabled: true
  1229.     network: qwant
  1230.  
  1231.   # - name: library
  1232.   #   engine: recoll
  1233.   #   shortcut: lib
  1234.   #   base_url: 'https://recoll.example.org/'
  1235.   #   search_dir: ''
  1236.   #   mount_prefix: /export
  1237.   #   dl_prefix: 'https://download.example.org'
  1238.   #   timeout: 30.0
  1239.   #   categories: files
  1240.   #   disabled: true
  1241.  
  1242.   # - name: recoll library reference
  1243.   #   engine: recoll
  1244.   #   base_url: 'https://recoll.example.org/'
  1245.   #   search_dir: reference
  1246.   #   mount_prefix: /export
  1247.   #   dl_prefix: 'https://download.example.org'
  1248.   #   shortcut: libr
  1249.   #   timeout: 30.0
  1250.   #   categories: files
  1251.   #   disabled: true
  1252.  
  1253.   - name: reddit
  1254.     engine: reddit
  1255.     shortcut: re
  1256.     page_size: 25
  1257.  
  1258.   # Required dependency: redis
  1259.   # - name: myredis
  1260.   #   shortcut : rds
  1261.   #   engine: redis_server
  1262.   #   exact_match_only: false
  1263.   #   host: '127.0.0.1'
  1264.   #   port: 6379
  1265.   #   enable_http: true
  1266.   #   password: ''
  1267.   #   db: 0
  1268.  
  1269.   # tmp suspended: bad certificate
  1270.   #  - name: scanr structures
  1271.   #    shortcut: scs
  1272.   #    engine: scanr_structures
  1273.   #    disabled: true
  1274.  
  1275.   - name: sepiasearch
  1276.     engine: sepiasearch
  1277.     shortcut: sep
  1278.  
  1279.   - name: soundcloud
  1280.     engine: soundcloud
  1281.     shortcut: sc
  1282.  
  1283.   - name: stackoverflow
  1284.     engine: stackexchange
  1285.     shortcut: st
  1286.     api_site: 'stackoverflow'
  1287.     categories: [it, q&a]
  1288.  
  1289.   - name: askubuntu
  1290.     engine: stackexchange
  1291.     shortcut: ubuntu
  1292.     api_site: 'askubuntu'
  1293.     categories: [it, q&a]
  1294.  
  1295.   - name: superuser
  1296.     engine: stackexchange
  1297.     shortcut: su
  1298.     api_site: 'superuser'
  1299.     categories: [it, q&a]
  1300.  
  1301.   - name: searchcode code
  1302.     engine: searchcode_code
  1303.     shortcut: scc
  1304.     disabled: true
  1305.  
  1306.   - name: framalibre
  1307.     engine: framalibre
  1308.     shortcut: frl
  1309.     disabled: true
  1310.  
  1311.   # - name: searx
  1312.   #   engine: searx_engine
  1313.   #   shortcut: se
  1314.   #   instance_urls :
  1315.   #       - http://127.0.0.1:8888/
  1316.   #       - ...
  1317.   #   disabled: true
  1318.  
  1319.   - name: semantic scholar
  1320.     engine: semantic_scholar
  1321.     disabled: true
  1322.     shortcut: se
  1323.  
  1324.   # Spotify needs API credentials
  1325.   # - name: spotify
  1326.   #   engine: spotify
  1327.   #   shortcut: stf
  1328.   #   api_client_id: *******
  1329.   #   api_client_secret: *******
  1330.  
  1331.   # - name: solr
  1332.   #   engine: solr
  1333.   #   shortcut: slr
  1334.   #   base_url: http://localhost:8983
  1335.   #   collection: collection_name
  1336.   #   sort: '' # sorting: asc or desc
  1337.   #   field_list: '' # comma separated list of field names to display on the UI
  1338.   #   default_fields: '' # default field to query
  1339.   #   query_fields: '' # query fields
  1340.   #   enable_http: true
  1341.  
  1342.   # - name: springer nature
  1343.   #   engine: springer
  1344.   #   # get your API key from: https://dev.springernature.com/signup
  1345.   #   # working API key, for test & debug: "a69685087d07eca9f13db62f65b8f601"
  1346.   #   api_key: 'unset'
  1347.   #   shortcut: springer
  1348.   #   timeout: 15.0
  1349.  
  1350.   - name: startpage
  1351.     engine: startpage
  1352.     shortcut: sp
  1353.     timeout: 6.0
  1354.     disabled: true
  1355.     additional_tests:
  1356.       rosebud: *test_rosebud
  1357.  
  1358.   - name: tokyotoshokan
  1359.     engine: tokyotoshokan
  1360.     shortcut: tt
  1361.     timeout: 6.0
  1362.     disabled: true
  1363.  
  1364.   - name: solidtorrents
  1365.     engine: solidtorrents
  1366.     shortcut: solid
  1367.     timeout: 4.0
  1368.     disabled: false
  1369.     base_url:
  1370.       - https://solidtorrents.net
  1371.       - https://solidtorrents.eu
  1372.       - https://solidtorrents.to
  1373.       - https://bitsearch.to
  1374.  
  1375.   # For this demo of the sqlite engine download:
  1376.   #   https://liste.mediathekview.de/filmliste-v2.db.bz2
  1377.   # and unpack into searx/data/filmliste-v2.db
  1378.   # Query to test: "!demo concert"
  1379.   #
  1380.   # - name: demo
  1381.   #   engine: sqlite
  1382.   #   shortcut: demo
  1383.   #   categories: general
  1384.   #   result_template: default.html
  1385.   #   database: searx/data/filmliste-v2.db
  1386.   #   query_str:  >-
  1387.   #     SELECT title || ' (' || time(duration, 'unixepoch') || ')' AS title,
  1388.   #            COALESCE( NULLIF(url_video_hd,''), NULLIF(url_video_sd,''), url_video) AS url,
  1389.   #            description AS content
  1390.   #       FROM film
  1391.   #      WHERE title LIKE :wildcard OR description LIKE :wildcard
  1392.   #      ORDER BY duration DESC
  1393.   #   disabled: false
  1394.  
  1395.   # Requires Tor
  1396.   - name: torch
  1397.     engine: xpath
  1398.     paging: true
  1399.     search_url:
  1400.       http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
  1401.     results_xpath: //table//tr
  1402.     url_xpath: ./td[2]/a
  1403.     title_xpath: ./td[2]/b
  1404.     content_xpath: ./td[2]/small
  1405.     categories: onions
  1406.     enable_http: true
  1407.     shortcut: tch
  1408.  
  1409.   # torznab engine lets you query any torznab compatible indexer.  Using this
  1410.   # engine in combination with Jackett (https://github.com/Jackett/Jackett)
  1411.   # opens the possibility to query a lot of public and private indexers directly
  1412.   # from SearXNG.
  1413.   # - name: torznab
  1414.   #   engine: torznab
  1415.   #   shortcut: trz
  1416.   #   base_url: http://localhost:9117/api/v2.0/indexers/all/results/torznab
  1417.   #   enable_http: true  # if using localhost
  1418.   #   api_key: xxxxxxxxxxxxxxx
  1419.   #   # https://github.com/Jackett/Jackett/wiki/Jackett-Categories
  1420.   #   torznab_categories:  # optional
  1421.   #     - 2000
  1422.   #     - 5000
  1423.  
  1424.   - name: twitter
  1425.     shortcut: tw
  1426.     engine: twitter
  1427.     disabled: false
  1428.  
  1429.   # maybe in a fun category
  1430.   #  - name: uncyclopedia
  1431.   #    engine: mediawiki
  1432.   #    shortcut: unc
  1433.   #    base_url: https://uncyclopedia.wikia.com/
  1434.   #    number_of_results: 5
  1435.  
  1436.   # tmp suspended - too slow, too many errors
  1437.   #  - name: urbandictionary
  1438.   #    engine      : xpath
  1439.   #    search_url  : https://www.urbandictionary.com/define.php?term={query}
  1440.   #    url_xpath   : //*[@class="word"]/@href
  1441.   #    title_xpath : //*[@class="def-header"]
  1442.   #    content_xpath: //*[@class="meaning"]
  1443.   #    shortcut: ud
  1444.  
  1445.   - name: unsplash
  1446.     engine: unsplash
  1447.     shortcut: us
  1448.     disabled: true
  1449.  
  1450.   - name: yahoo
  1451.     engine: yahoo
  1452.     shortcut: yh
  1453.     disabled: true
  1454.  
  1455.   - name: yahoo news
  1456.     engine: yahoo_news
  1457.     shortcut: yhn
  1458.     disabled: true
  1459.  
  1460.   - name: youtube
  1461.     shortcut: yt
  1462.     # You can use the engine using the official stable API, but you need an API
  1463.     # key See: https://console.developers.google.com/project
  1464.     #
  1465.     # engine: youtube_api
  1466.     # api_key: 'apikey' # required!
  1467.     #
  1468.     # Or you can use the html non-stable engine, activated by default
  1469.     engine: youtube_noapi
  1470.  
  1471.   - name: dailymotion
  1472.     engine: dailymotion
  1473.     shortcut: dm
  1474.     disabled: true
  1475.  
  1476.   - name: vimeo
  1477.     engine: vimeo
  1478.     shortcut: vm
  1479.     disabled: true
  1480.  
  1481.   - name: wiby
  1482.     engine: json_engine
  1483.     paging: true
  1484.     search_url: https://wiby.me/json/?q={query}&p={pageno}
  1485.     url_query: URL
  1486.     title_query: Title
  1487.     content_query: Snippet
  1488.     categories: [general, web]
  1489.     shortcut: wib
  1490.     disabled: true
  1491.     about:
  1492.       website: https://wiby.me/
  1493.  
  1494.   - name: marginalia
  1495.     engine: json_engine
  1496.     shortcut: mar
  1497.     categories: general
  1498.     paging: false
  1499.     # index: {"0": "popular", "1": "blogs", "2": "big_sites",
  1500.     # "3": "default", "4": experimental"}
  1501.    search_url: https://api.marginalia.nu/public/search/{query}?index=4&count=20
  1502.    results_query: results
  1503.    url_query: url
  1504.    title_query: title
  1505.    content_query: description
  1506.    timeout: 1.5
  1507.    disabled: true
  1508.    about:
  1509.      website: https://www.marginalia.nu/
  1510.      official_api_documentation: https://api.marginalia.nu/
  1511.      use_official_api: true
  1512.      require_api_key: true
  1513.      results: JSON
  1514.  
  1515.  - name: alexandria
  1516.    engine: json_engine
  1517.    shortcut: alx
  1518.    categories: general
  1519.    paging: true
  1520.    search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
  1521.    results_query: results
  1522.    title_query: title
  1523.    url_query: url
  1524.    content_query: snippet
  1525.    timeout: 1.5
  1526.    disabled: true
  1527.    about:
  1528.      website: https://alexandria.org/
  1529.      official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
  1530.      use_official_api: true
  1531.      require_api_key: false
  1532.      results: JSON
  1533.  
  1534.  - name: wikibooks
  1535.    engine: mediawiki
  1536.    shortcut: wb
  1537.    categories: general
  1538.    base_url: "https://{language}.wikibooks.org/"
  1539.     number_of_results: 5
  1540.     search_type: text
  1541.     disabled: true
  1542.     about:
  1543.       website: https://www.wikibooks.org/
  1544.       wikidata_id: Q367
  1545.  
  1546.   - name: wikinews
  1547.     engine: mediawiki
  1548.     shortcut: wn
  1549.     categories: news
  1550.     base_url: "https://{language}.wikinews.org/"
  1551.     number_of_results: 5
  1552.     search_type: text
  1553.     disabled: true
  1554.     about:
  1555.       website: https://www.wikinews.org/
  1556.       wikidata_id: Q964
  1557.  
  1558.   - name: wikiquote
  1559.     engine: mediawiki
  1560.     shortcut: wq
  1561.     categories: general
  1562.     base_url: "https://{language}.wikiquote.org/"
  1563.     number_of_results: 5
  1564.     search_type: text
  1565.     disabled: true
  1566.     additional_tests:
  1567.       rosebud: *test_rosebud
  1568.     about:
  1569.       website: https://www.wikiquote.org/
  1570.       wikidata_id: Q369
  1571.  
  1572.   - name: wikisource
  1573.     engine: mediawiki
  1574.     shortcut: ws
  1575.     categories: general
  1576.     base_url: "https://{language}.wikisource.org/"
  1577.     number_of_results: 5
  1578.     search_type: text
  1579.     disabled: true
  1580.     about:
  1581.       website: https://www.wikisource.org/
  1582.       wikidata_id: Q263
  1583.  
  1584.   - name: wiktionary
  1585.     engine: mediawiki
  1586.     shortcut: wt
  1587.     categories: [dictionaries]
  1588.     base_url: "https://{language}.wiktionary.org/"
  1589.     number_of_results: 5
  1590.     search_type: text
  1591.     disabled: false
  1592.     about:
  1593.       website: https://www.wiktionary.org/
  1594.       wikidata_id: Q151
  1595.  
  1596.   - name: wikiversity
  1597.     engine: mediawiki
  1598.     shortcut: wv
  1599.     categories: general
  1600.     base_url: "https://{language}.wikiversity.org/"
  1601.     number_of_results: 5
  1602.     search_type: text
  1603.     disabled: true
  1604.     about:
  1605.       website: https://www.wikiversity.org/
  1606.       wikidata_id: Q370
  1607.  
  1608.   - name: wikivoyage
  1609.     engine: mediawiki
  1610.     shortcut: wy
  1611.     categories: general
  1612.     base_url: "https://{language}.wikivoyage.org/"
  1613.     number_of_results: 5
  1614.     search_type: text
  1615.     disabled: true
  1616.     about:
  1617.       website: https://www.wikivoyage.org/
  1618.       wikidata_id: Q373
  1619.  
  1620.   - name: wolframalpha
  1621.     shortcut: wa
  1622.     # You can use the engine using the official stable API, but you need an API
  1623.     # key.  See: https://products.wolframalpha.com/api/
  1624.     #
  1625.     # engine: wolframalpha_api
  1626.     # api_key: ''
  1627.     #
  1628.     # Or you can use the html non-stable engine, activated by default
  1629.     engine: wolframalpha_noapi
  1630.     timeout: 6.0
  1631.     categories: []
  1632.  
  1633.   - name: dictzone
  1634.     engine: dictzone
  1635.     shortcut: dc
  1636.     disabled: true
  1637.  
  1638.   - name: mymemory translated
  1639.     engine: translated
  1640.     shortcut: tl
  1641.     timeout: 5.0
  1642.     disabled: false
  1643.     # You can use without an API key, but you are limited to 1000 words/day
  1644.     # See: https://mymemory.translated.net/doc/usagelimits.php
  1645.     # api_key: ''
  1646.  
  1647.   # Required dependency: mysql-connector-python
  1648.   #  - name: mysql
  1649.   #    engine: mysql_server
  1650.   #    database: mydatabase
  1651.   #    username: user
  1652.   #    password: pass
  1653.   #    limit: 10
  1654.   #    query_str: 'SELECT * from mytable WHERE fieldname=%(query)s'
  1655.   #    shortcut: mysql
  1656.  
  1657.   - name: 1337x
  1658.     engine: 1337x
  1659.     shortcut: 1337x
  1660.     disabled: false
  1661.  
  1662.   - name: duden
  1663.     engine: duden
  1664.     shortcut: du
  1665.     disabled: true
  1666.  
  1667.   - name: seznam
  1668.     shortcut: szn
  1669.     engine: seznam
  1670.     disabled: true
  1671.  
  1672.   # - name: deepl
  1673.   #   engine: deepl
  1674.   #   shortcut: dpl
  1675.   #   # You can use the engine using the official stable API, but you need an API key
  1676.   #   # See: https://www.deepl.com/pro-api?cta=header-pro-api
  1677.   #   api_key: ''  # required!
  1678.   #   timeout: 5.0
  1679.   #   disabled: true
  1680.  
  1681.   - name: mojeek
  1682.     shortcut: mjk
  1683.     engine: xpath
  1684.     paging: true
  1685.     categories: [general, web]
  1686.     search_url: https://www.mojeek.com/search?q={query}&s={pageno}&lang={lang}&lb={lang}
  1687.     results_xpath: //ul[@class="results-standard"]/li/a[@class="ob"]
  1688.     url_xpath: ./@href
  1689.     title_xpath: ../h2/a
  1690.     content_xpath: ..//p[@class="s"]
  1691.     suggestion_xpath: //div[@class="top-info"]/p[@class="top-info spell"]/em/a
  1692.     first_page_num: 0
  1693.     page_size: 10
  1694.     disabled: false
  1695.     about:
  1696.       website: https://www.mojeek.com/
  1697.       wikidata_id: Q60747299
  1698.       official_api_documentation: https://www.mojeek.com/services/api.html/
  1699.       use_official_api: false
  1700.       require_api_key: false
  1701.       results: HTML
  1702.  
  1703.   - name: naver
  1704.     shortcut: nvr
  1705.     categories: [general, web]
  1706.     engine: xpath
  1707.     paging: true
  1708.     search_url: https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  1709.     url_xpath: //a[@class="link_tit"]/@href
  1710.     title_xpath: //a[@class="link_tit"]
  1711.     content_xpath: //a[@class="total_dsc"]/div
  1712.     first_page_num: 1
  1713.     page_size: 10
  1714.     disabled: true
  1715.     about:
  1716.       website: https://www.naver.com/
  1717.       wikidata_id: Q485639
  1718.       official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  1719.       use_official_api: false
  1720.       require_api_key: false
  1721.       results: HTML
  1722.       language: ko
  1723.  
  1724.   - name: rubygems
  1725.     shortcut: rbg
  1726.     engine: xpath
  1727.     paging: true
  1728.     search_url: https://rubygems.org/search?page={pageno}&query={query}
  1729.     results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1730.     url_xpath: ./@href
  1731.     title_xpath: ./span/h2
  1732.     content_xpath: ./span/p
  1733.     suggestion_xpath: /html/body/main/div/div[@class="search__suggestions"]/p/a
  1734.     first_page_num: 1
  1735.     categories: [it, packages]
  1736.     disabled: true
  1737.     about:
  1738.       website: https://rubygems.org/
  1739.       wikidata_id: Q1853420
  1740.       official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1741.       use_official_api: false
  1742.       require_api_key: false
  1743.       results: HTML
  1744.  
  1745.   - name: peertube
  1746.     engine: peertube
  1747.     shortcut: ptb
  1748.     paging: true
  1749.     # alternatives see: https://instances.joinpeertube.org/instances
  1750.     # base_url: https://tube.4aem.com
  1751.     categories: videos
  1752.     disabled: true
  1753.     timeout: 6.0
  1754.  
  1755.   - name: mediathekviewweb
  1756.     engine: mediathekviewweb
  1757.     shortcut: mvw
  1758.     disabled: true
  1759.  
  1760.   # - name: yacy
  1761.   #   engine: yacy
  1762.   #   shortcut: ya
  1763.   #   base_url: http://localhost:8090
  1764.   # required if you aren't using HTTPS for your local yacy instance'
  1765.   #   enable_http: true
  1766.   #   number_of_results: 5
  1767.   #   timeout: 3.0
  1768.  
  1769.   - name: rumble
  1770.     engine: rumble
  1771.     shortcut: ru
  1772.     base_url: https://rumble.com/
  1773.     paging: true
  1774.     categories: videos
  1775.     disabled: true
  1776.  
  1777.   - name: wordnik
  1778.     engine: wordnik
  1779.     shortcut: def
  1780.     base_url: https://www.wordnik.com/
  1781.     categories: [dictionaries]
  1782.     timeout: 5.0
  1783.     disabled: false
  1784.  
  1785.   - name: woxikon.de synonyme
  1786.     engine: xpath
  1787.     shortcut: woxi
  1788.     categories: [dictionaries]
  1789.     timeout: 5.0
  1790.     disabled: true
  1791.     search_url: https://synonyme.woxikon.de/synonyme/{query}.php
  1792.     url_xpath: //div[@class="upper-synonyms"]/a/@href
  1793.     content_xpath: //div[@class="synonyms-list-group"]
  1794.     title_xpath: //div[@class="upper-synonyms"]/a
  1795.     no_result_for_http_status: [404]
  1796.     about:
  1797.       website: https://www.woxikon.de/
  1798.       wikidata_id:  # No Wikidata ID
  1799.       use_official_api: false
  1800.       require_api_key: false
  1801.       results: HTML
  1802.       language: de
  1803.  
  1804.   - name: sjp.pwn
  1805.     engine: sjp
  1806.     shortcut: sjp
  1807.     base_url: https://sjp.pwn.pl/
  1808.     timeout: 5.0
  1809.     disabled: true
  1810.  
  1811.     # wikimini: online encyclopedia for children
  1812.     # The fulltext and title parameter is necessary for Wikimini because
  1813.     # sometimes it will not show the results and redirect instead
  1814.   - name: wikimini
  1815.     engine: xpath
  1816.     shortcut: wkmn
  1817.     search_url: https://fr.wikimini.org/w/index.php?search={query}&title=Sp%C3%A9cial%3ASearch&fulltext=Search
  1818.     url_xpath: //li/div[@class="mw-search-result-heading"]/a/@href
  1819.     title_xpath: //li//div[@class="mw-search-result-heading"]/a
  1820.     content_xpath: //li/div[@class="searchresult"]
  1821.     categories: general
  1822.     disabled: true
  1823.     about:
  1824.       website: https://wikimini.org/
  1825.       wikidata_id: Q3568032
  1826.       use_official_api: false
  1827.       require_api_key: false
  1828.       results: HTML
  1829.       language: fr
  1830.  
  1831.   - name: wttr.in
  1832.     engine: wttr
  1833.     shortcut: wttr
  1834.     timeout: 9.0
  1835.  
  1836.   - name: brave
  1837.     shortcut: brave
  1838.     engine: xpath
  1839.     paging: true
  1840.     time_range_support: true
  1841.     first_page_num: 0
  1842.     time_range_url: "&tf={time_range_val}"
  1843.     search_url: https://search.brave.com/search?q={query}&offset={pageno}&spellcheck=1{time_range}
  1844.     url_xpath: //a[@class="result-header"]/@href
  1845.     title_xpath: //span[@class="snippet-title"]
  1846.     content_xpath: //p[1][@class="snippet-description"]
  1847.     suggestion_xpath: //div[@class="text-gray h6"]/a
  1848.     time_range_map:
  1849.       day: 'pd'
  1850.       week: 'pw'
  1851.       month: 'pm'
  1852.       year: 'py'
  1853.     categories: [general, web]
  1854.     disabled: false
  1855.     headers:
  1856.       Accept-Encoding: gzip, deflate
  1857.     about:
  1858.       website: https://brave.com/search/
  1859.       wikidata_id: Q107355971
  1860.       use_official_api: false
  1861.       require_api_key: false
  1862.       results: HTML
  1863.  
  1864.   - name: petalsearch
  1865.     shortcut: pts
  1866.     engine: xpath
  1867.     paging: true
  1868.     search_url: https://petalsearch.com/search?query={query}&pn={pageno}
  1869.     url_xpath: //div[@class='card-source']
  1870.     title_xpath: //div[@class='title-name']
  1871.     content_xpath: //div[@class='webpage-text']
  1872.     first_page_num: 1
  1873.     disabled: true
  1874.     headers:
  1875.       User-Agent: Mozilla/5.0 (Linux; Android 7.0;) \
  1876.         AppleWebKit/537.36 (KHTML, like Gecko) \
  1877.         Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
  1878.     about:
  1879.       website: https://petalsearch.com/
  1880.       wikidata_id: Q104399280
  1881.       use_official_api: false
  1882.       require_api_key: false
  1883.       results: HTML
  1884.  
  1885.   - name: petalsearch images
  1886.     engine: petal_images
  1887.     shortcut: ptsi
  1888.     disabled: true
  1889.     timeout: 3.0
  1890.  
  1891.   - name: lib.rs
  1892.     shortcut: lrs
  1893.     engine: xpath
  1894.     search_url: https://lib.rs/search?q={query}
  1895.     results_xpath: /html/body/main/div/ol/li/a
  1896.     url_xpath: ./@href
  1897.     title_xpath: ./div[@class="h"]/h4
  1898.     content_xpath: ./div[@class="h"]/p
  1899.     categories: [it, packages]
  1900.     disabled: true
  1901.     about:
  1902.       website: https://lib.rs
  1903.       wikidata_id: Q113486010
  1904.       use_official_api: false
  1905.       require_api_key: false
  1906.       results: HTML
  1907.  
  1908.   - name: sourcehut
  1909.     shortcut: srht
  1910.     engine: xpath
  1911.     paging: true
  1912.     search_url: https://sr.ht/projects?page={pageno}&search={query}
  1913.     results_xpath: (//div[@class="event-list"])[1]/div[@class="event"]
  1914.     url_xpath: ./h4/a[2]/@href
  1915.     title_xpath: ./h4/a[2]
  1916.     content_xpath: ./p
  1917.     first_page_num: 1
  1918.     categories: [it, repos]
  1919.     disabled: true
  1920.     about:
  1921.       website: https://sr.ht
  1922.       wikidata_id: Q78514485
  1923.       official_api_documentation: https://man.sr.ht/
  1924.       use_official_api: false
  1925.       require_api_key: false
  1926.       results: HTML
  1927.  
  1928.   - name: goo
  1929.     shortcut: goo
  1930.     engine: xpath
  1931.     paging: true
  1932.     search_url: https://search.goo.ne.jp/web.jsp?MT={query}&FR={pageno}0
  1933.     url_xpath: //div[@class="result"]/p[@class='title fsL1']/a/@href
  1934.     title_xpath: //div[@class="result"]/p[@class='title fsL1']/a
  1935.     content_xpath: //p[contains(@class,'url fsM')]/following-sibling::p
  1936.     first_page_num: 0
  1937.     categories: [general, web]
  1938.     disabled: true
  1939.     timeout: 4.0
  1940.     about:
  1941.       website: https://search.goo.ne.jp
  1942.       wikidata_id: Q249044
  1943.       use_official_api: false
  1944.       require_api_key: false
  1945.       results: HTML
  1946.       language: ja
  1947.  
  1948. # Doku engine lets you access to any Doku wiki instance:
  1949. # A public one or a privete/corporate one.
  1950. #  - name: ubuntuwiki
  1951. #    engine: doku
  1952. #    shortcut: uw
  1953. #    base_url: 'https://doc.ubuntu-fr.org'
  1954.  
  1955. # Be careful when enabling this engine if you are
  1956. # running a public instance. Do not expose any sensitive
  1957. # information. You can restrict access by configuring a list
  1958. # of access tokens under tokens.
  1959. #  - name: git grep
  1960. #    engine: command
  1961. #    command: ['git', 'grep', '{{QUERY}}']
  1962. #    shortcut: gg
  1963. #    tokens: []
  1964. #    disabled: true
  1965. #    delimiter:
  1966. #        chars: ':'
  1967. #        keys: ['filepath', 'code']
  1968.  
  1969. # Be careful when enabling this engine if you are
  1970. # running a public instance. Do not expose any sensitive
  1971. # information. You can restrict access by configuring a list
  1972. # of access tokens under tokens.
  1973. #  - name: locate
  1974. #    engine: command
  1975. #    command: ['locate', '{{QUERY}}']
  1976. #    shortcut: loc
  1977. #    tokens: []
  1978. #    disabled: true
  1979. #    delimiter:
  1980. #        chars: ' '
  1981. #        keys: ['line']
  1982.  
  1983. # Be careful when enabling this engine if you are
  1984. # running a public instance. Do not expose any sensitive
  1985. # information. You can restrict access by configuring a list
  1986. # of access tokens under tokens.
  1987. #  - name: find
  1988. #    engine: command
  1989. #    command: ['find', '.', '-name', '{{QUERY}}']
  1990. #    query_type: path
  1991. #    shortcut: fnd
  1992. #    tokens: []
  1993. #    disabled: true
  1994. #    delimiter:
  1995. #        chars: ' '
  1996. #        keys: ['line']
  1997.  
  1998. # Be careful when enabling this engine if you are
  1999. # running a public instance. Do not expose any sensitive
  2000. # information. You can restrict access by configuring a list
  2001. # of access tokens under tokens.
  2002. #  - name: pattern search in files
  2003. #    engine: command
  2004. #    command: ['fgrep', '{{QUERY}}']
  2005. #    shortcut: fgr
  2006. #    tokens: []
  2007. #    disabled: true
  2008. #    delimiter:
  2009. #        chars: ' '
  2010. #        keys: ['line']
  2011.  
  2012. # Be careful when enabling this engine if you are
  2013. # running a public instance. Do not expose any sensitive
  2014. # information. You can restrict access by configuring a list
  2015. # of access tokens under tokens.
  2016. #  - name: regex search in files
  2017. #    engine: command
  2018. #    command: ['grep', '{{QUERY}}']
  2019. #    shortcut: gr
  2020. #    tokens: []
  2021. #    disabled: true
  2022. #    delimiter:
  2023. #        chars: ' '
  2024. #        keys: ['line']
  2025.  
  2026. doi_resolvers:
  2027.   oadoi.org: 'https://oadoi.org/'
  2028.   doi.org: 'https://doi.org/'
  2029.   doai.io: 'https://dissem.in/'
  2030.   sci-hub.se: 'https://sci-hub.se/'
  2031.   sci-hub.st: 'https://sci-hub.st/'
  2032.   sci-hub.ru: 'https://sci-hub.ru/'
  2033.  
  2034. default_doi_resolver: 'oadoi.org'
  2035.  
Add Comment
Please, Sign In to add comment