diff options
Diffstat (limited to 'searx/settings.yml')
| -rw-r--r-- | searx/settings.yml | 174 |
1 files changed, 109 insertions, 65 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index c223e5915..c6f805331 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -27,12 +27,15 @@ ui: # searx supports result proxification using an external service: https://github.com/asciimoo/morty # uncomment below section if you have running morty proxy +# the key is base64 encoded (keep the !!binary notation) +# Note: since commit af77ec3, morty accepts a base64 encoded key. #result_proxy: # url : http://127.0.0.1:3000/ -# key : your_morty_proxy_key +# key : !!binary "your_morty_proxy_key" outgoing: # communication with search engines - request_timeout : 2.0 # seconds + request_timeout : 2.0 # default timeout in seconds, can be override by engine + # max_request_timeout: 10.0 # the maximum timeout in seconds useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator pool_connections : 100 # Number of different hosts pool_maxsize : 10 # Number of simultaneous requests by host @@ -49,6 +52,12 @@ outgoing: # communication with search engines # - 1.1.1.2 engines: + - name: apk mirror + engine: apkmirror + timeout: 4.0 + shortcut: apkm + disabled: True + - name : arch linux wiki engine : archlinux shortcut : al @@ -70,10 +79,6 @@ engines: categories : science timeout : 4.0 - - name : asksteem - engine : asksteem - shortcut : as - - name : base engine : base shortcut : bs @@ -111,6 +116,10 @@ engines: disabled : True shortcut : bb + - name : btdigg + engine : btdigg + shortcut : bt + - name : ccc-tv engine : xpath paging : False @@ -125,7 +134,7 @@ engines: - name : crossref engine : json_engine paging : True - search_url : http://search.crossref.org/dois?q={query}&page={pageno} + search_url : https://search.crossref.org/dois?q={query}&page={pageno} url_query : doi title_query : title content_query : fullCitation @@ -152,11 +161,12 @@ engines: weight : 2 disabled : True - - name : digbt - engine : digbt - shortcut : dbt - timeout : 6.0 - disabled : True +# cloudflare protected +# - name : digbt +# engine : digbt +# shortcut : dbt +# timeout : 6.0 +# disabled : True - name : digg engine : digg @@ -195,11 +205,11 @@ engines: - name : etymonline engine : xpath paging : True - search_url : http://etymonline.com/?search={query}&p={pageno} - url_xpath : //a[contains(@class, "word--")]/@href - title_xpath : //p[contains(@class, "word__name--")]/text() - content_xpath : //section[contains(@class, "word__defination")]/object - first_page_num : 0 + search_url : https://etymonline.com/search?page={pageno}&q={query} + url_xpath : //a[contains(@class, "word__name--")]/@href + title_xpath : //a[contains(@class, "word__name--")] + content_xpath : //section[contains(@class, "word__defination")] + first_page_num : 1 shortcut : et disabled : True @@ -300,38 +310,44 @@ engines: url_xpath : .//h3/a/@href title_xpath : .//h3/a content_xpath : .//div[@class="gs_rs"] - suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li + suggestion_xpath : //div[@id="gs_res_ccl_top"]//a/b page_size : 10 first_page_num : 0 categories : science shortcut : gos - name : google play apps - engine : xpath - search_url : https://play.google.com/store/search?q={query}&c=apps - url_xpath : //a[@class="title"]/@href - title_xpath : //a[@class="title"] - content_xpath : //a[@class="subtitle"] + engine : xpath + search_url : https://play.google.com/store/search?q={query}&c=apps + results_xpath : '//div[@class="WHE7ib mpg5gc"]' + title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a' + url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href' + content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]' + thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]//img/@data-src' categories : files shortcut : gpa disabled : True - name : google play movies - engine : xpath - search_url : https://play.google.com/store/search?q={query}&c=movies - url_xpath : //a[@class="title"]/@href - title_xpath : //a[@class="title"]/@title - content_xpath : //a[contains(@class, "subtitle")] + engine : xpath + search_url : https://play.google.com/store/search?q={query}&c=movies + results_xpath : '//div[@class="WHE7ib mpg5gc"]' + title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a' + url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href' + content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]' + thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]//img/@data-src' categories : videos shortcut : gpm disabled : True - name : google play music - engine : xpath - search_url : https://play.google.com/store/search?q={query}&c=music - url_xpath : //a[@class="title"]/@href - title_xpath : //a[@class="title"] - content_xpath : //a[@class="subtitle"] + engine : xpath + search_url : https://play.google.com/store/search?q={query}&c=music + results_xpath : '//div[@class="WHE7ib mpg5gc"]' + title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a' + url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href' + content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]' + thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]//img/@data-src' categories : music shortcut : gps disabled : True @@ -378,6 +394,12 @@ engines: timeout : 6.0 disabled : True + - name : invidious + engine : invidious + base_url : 'https://invidio.us/' + shortcut: iv + timeout : 5.0 + - name: kickass engine : kickass shortcut : kc @@ -414,11 +436,25 @@ engines: engine : mixcloud shortcut : mc + - name : npm + engine : json_engine + paging : True + search_url : https://api.npms.io/v2/search?q={query}&size=25&from={pageno} + results_query : results + url_query : package/links/npm + title_query : package/name + content_query : package/description + page_size : 25 + categories : it + disabled: True + timeout: 5.0 + shortcut : npm + - name : nyaa engine : nyaa shortcut : nt disabled : True - + - name : acgsou engine : acgsou shortcut : acg @@ -566,32 +602,12 @@ engines: engine : spotify shortcut : stf - - name : subtitleseeker - engine : subtitleseeker - shortcut : ss -# The language is an option. You can put any language written in english -# Examples : English, French, German, Hungarian, Chinese... -# language : English - - name : startpage engine : startpage shortcut : sp timeout : 6.0 disabled : True - - name : ixquick - engine : startpage - base_url : 'https://www.ixquick.eu/' - search_url : 'https://www.ixquick.eu/do/search' - shortcut : iq - timeout : 6.0 - disabled : True - - - name : swisscows - engine : swisscows - shortcut : sw - disabled : True - - name : tokyotoshokan engine : tokyotoshokan shortcut : tt @@ -624,6 +640,11 @@ engines: # content_xpath : //*[@class="meaning"] # shortcut : ud + - name : unsplash + engine : unsplash + disabled: True + shortcut : us + - name : yahoo engine : yahoo shortcut : yh @@ -665,12 +686,6 @@ engines: timeout: 6.0 categories : science - - name : seedpeer - engine : seedpeer - shortcut: speu - categories: files, music, videos - disabled: True - - name : dictzone engine : dictzone shortcut : dc @@ -689,9 +704,9 @@ engines: shortcut: vo categories: social media search_url : https://searchvoat.co/?t={query} - url_xpath : //div[@class="entry"]/p/a[@class="title"]/@href - title_xpath : //div[@class="entry"]/p/a[@class="title"] - content_xpath : //div[@class="entry"]/p/span[@class="domain"] + url_xpath : //div[@class="entry"]//p[@class="title"]/a/@href + title_xpath : //div[@class="entry"]//p[@class="title"]/a/text() + content_xpath : //div[@class="entry"]//span[@class="domain"]/a/text() timeout : 10.0 disabled : True @@ -700,7 +715,7 @@ engines: shortcut : 1337x disabled : True - - name : Duden + - name : duden engine : duden shortcut : du disabled : True @@ -710,14 +725,34 @@ engines: engine: xpath paging : True search_url : https://search.seznam.cz/?q={query}&count=10&from={pageno} - results_xpath: //div[@class="Page-content"]//div[@class="Result "] + results_xpath: //div[@class="Page-content"]//div[contains(@class, "Result ")] url_xpath : ./h3/a/@href title_xpath : ./h3 content_xpath : .//p[@class="Result-description"] + suggestion_xpath: //div[@class="Related-container"]//div[@class="RelatedItem"]/div/span/a first_page_num : 0 page_size : 10 disabled : True + - name : mojeek + shortcut: mjk + engine: xpath + paging : True + search_url : https://www.mojeek.com/search?q={query}&s={pageno} + results_xpath: /html/body//div[@class="results"]/ul[@class="results-standard"]/li + url_xpath : ./h2/a/@href + title_xpath : ./h2 + content_xpath : ./p[@class="s"] + suggestion_xpath : /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a + first_page_num : 0 + page_size : 10 + disabled : True + + - name : seedpeer + shortcut : speu + engine : seedpeer + categories: files, music, videos + # - name : yacy # engine : yacy # shortcut : ya @@ -736,21 +771,28 @@ locales: en : English ar : العَرَبِيَّة (Arabic) bg : Български (Bulgarian) + ca : Català (Catalan) cs : Čeština (Czech) + cy : Cymraeg (Welsh) da : Dansk (Danish) de : Deutsch (German) el_GR : Ελληνικά (Greek_Greece) eo : Esperanto (Esperanto) es : Español (Spanish) + eu : Euskara (Basque) + fa_IR : (fārsī) فارسى (Persian) fi : Suomi (Finnish) fil : Wikang Filipino (Filipino) fr : Français (French) + gl : Galego (Galician) he : עברית (Hebrew) hr : Hrvatski (Croatian) hu : Magyar (Hungarian) + ia : Interlingua (Interlingua) it : Italiano (Italian) ja : 日本語 (Japanese) nl : Nederlands (Dutch) + nl_BE : Vlaams (Dutch_Belgium) pl : Polski (Polish) pt : Português (Portuguese) pt_BR : Português (Portuguese_Brazil) @@ -760,8 +802,10 @@ locales: sl : Slovenski (Slovene) sr : српски (Serbian) sv : Svenska (Swedish) + te : తెలుగు (telugu) tr : Türkçe (Turkish) uk : українська мова (Ukrainian) + vi : tiếng việt (Vietnamese) zh : 中文 (Chinese) zh_TW : 國語 (Taiwanese Mandarin) |