Update 'src/freedombone-app-searx'
This commit is contained in:
parent
71c96afafc
commit
3ddf0bd180
|
@ -256,7 +256,7 @@ function create_searx_config {
|
||||||
echo 'search:';
|
echo 'search:';
|
||||||
echo ' safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict';
|
echo ' safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict';
|
||||||
echo ' autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "startpage", "wikipedia" - leave blank to turn it off by default';
|
echo ' autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "startpage", "wikipedia" - leave blank to turn it off by default';
|
||||||
echo ' language : "all"';
|
echo ' language : "en"';
|
||||||
echo '';
|
echo '';
|
||||||
echo 'server:';
|
echo 'server:';
|
||||||
echo " port : ${SEARX_PORT}";
|
echo " port : ${SEARX_PORT}";
|
||||||
|
@ -270,7 +270,7 @@ function create_searx_config {
|
||||||
echo ' static_path : "" # Custom static path - leave it blank if you didnt change';
|
echo ' static_path : "" # Custom static path - leave it blank if you didnt change';
|
||||||
echo ' templates_path : "" # Custom templates path - leave it blank if you didnt change';
|
echo ' templates_path : "" # Custom templates path - leave it blank if you didnt change';
|
||||||
echo ' themes_path : "" # Custom ui themes path';
|
echo ' themes_path : "" # Custom ui themes path';
|
||||||
echo ' default_theme : courgette # ui theme';
|
echo ' default_theme : oscar # ui theme';
|
||||||
echo ' default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the "locales" config section';
|
echo ' default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the "locales" config section';
|
||||||
echo '';
|
echo '';
|
||||||
echo 'outgoing: # communication with search engines';
|
echo 'outgoing: # communication with search engines';
|
||||||
|
@ -286,6 +286,7 @@ function create_searx_config {
|
||||||
echo ' engine : archlinux';
|
echo ' engine : archlinux';
|
||||||
echo ' categories : general';
|
echo ' categories : general';
|
||||||
echo ' shortcut : al';
|
echo ' shortcut : al';
|
||||||
|
echo ' disabled : True';
|
||||||
echo '';
|
echo '';
|
||||||
echo ' - name : archive is';
|
echo ' - name : archive is';
|
||||||
echo ' engine : xpath';
|
echo ' engine : xpath';
|
||||||
|
@ -298,6 +299,26 @@ function create_searx_config {
|
||||||
echo ' disabled : True';
|
echo ' disabled : True';
|
||||||
echo ' shortcut : ai';
|
echo ' shortcut : ai';
|
||||||
echo '';
|
echo '';
|
||||||
|
echo ' - name : arxiv
|
||||||
|
echo ' engine : arxiv
|
||||||
|
echo ' shortcut : arx
|
||||||
|
echo ' categories : science
|
||||||
|
echo ' timeout : 4.0
|
||||||
|
echo '';
|
||||||
|
echo ' - name : bing images
|
||||||
|
echo ' engine : bing_images
|
||||||
|
echo ' shortcut : bii
|
||||||
|
echo '';
|
||||||
|
echo ' - name : bing news
|
||||||
|
echo ' engine : bing_news
|
||||||
|
echo ' shortcut : bin
|
||||||
|
echo '';
|
||||||
|
echo ' - name : duckduckgo images
|
||||||
|
echo ' engine : duckduckgo_images
|
||||||
|
echo ' shortcut : ddi
|
||||||
|
echo ' timeout: 3.0
|
||||||
|
echo ' disabled : False
|
||||||
|
echo '';
|
||||||
echo ' - name : base';
|
echo ' - name : base';
|
||||||
echo ' engine : base';
|
echo ' engine : base';
|
||||||
echo ' shortcut : bs';
|
echo ' shortcut : bs';
|
||||||
|
@ -339,6 +360,7 @@ function create_searx_config {
|
||||||
echo ' content_query : fullCitation';
|
echo ' content_query : fullCitation';
|
||||||
echo ' categories : science';
|
echo ' categories : science';
|
||||||
echo ' shortcut : cr';
|
echo ' shortcut : cr';
|
||||||
|
echo ' disabled : True';
|
||||||
echo '';
|
echo '';
|
||||||
echo ' - name : currency';
|
echo ' - name : currency';
|
||||||
echo ' engine : currency_convert';
|
echo ' engine : currency_convert';
|
||||||
|
@ -404,6 +426,7 @@ function create_searx_config {
|
||||||
echo ' - name : 500px';
|
echo ' - name : 500px';
|
||||||
echo ' engine : www500px';
|
echo ' engine : www500px';
|
||||||
echo ' shortcut : px';
|
echo ' shortcut : px';
|
||||||
|
echo ' disabled : True';
|
||||||
echo '';
|
echo '';
|
||||||
echo ' - name : 1x';
|
echo ' - name : 1x';
|
||||||
echo ' engine : www1x';
|
echo ' engine : www1x';
|
||||||
|
@ -449,6 +472,28 @@ function create_searx_config {
|
||||||
echo ' timeout : 10.0';
|
echo ' timeout : 10.0';
|
||||||
echo ' disabled : False';
|
echo ' disabled : False';
|
||||||
echo '';
|
echo '';
|
||||||
|
echo ' - name : google videos
|
||||||
|
echo ' engine : google_videos
|
||||||
|
echo ' shortcut : gov
|
||||||
|
echo '';
|
||||||
|
echo ' - name : google news
|
||||||
|
echo ' engine : google_news
|
||||||
|
echo ' shortcut : gon
|
||||||
|
echo '';
|
||||||
|
echo ' - name : google scholar
|
||||||
|
echo ' engine : xpath
|
||||||
|
echo ' paging : True
|
||||||
|
echo ' search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
|
||||||
|
echo ' results_xpath : //div[contains(@class, "gs_r")]/div[@class="gs_ri"]
|
||||||
|
echo ' url_xpath : .//h3/a/@href
|
||||||
|
echo ' title_xpath : .//h3/a
|
||||||
|
echo ' content_xpath : .//div[@class="gs_rs"]
|
||||||
|
echo ' suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
|
||||||
|
echo ' page_size : 10
|
||||||
|
echo ' first_page_num : 0
|
||||||
|
echo ' categories : science
|
||||||
|
echo ' shortcut : gos
|
||||||
|
echo '';
|
||||||
echo ' - name : github';
|
echo ' - name : github';
|
||||||
echo ' engine : github';
|
echo ' engine : github';
|
||||||
echo ' shortcut : gh';
|
echo ' shortcut : gh';
|
||||||
|
@ -536,6 +581,30 @@ function create_searx_config {
|
||||||
echo ' engine : openstreetmap';
|
echo ' engine : openstreetmap';
|
||||||
echo ' shortcut : osm';
|
echo ' shortcut : osm';
|
||||||
echo '';
|
echo '';
|
||||||
|
echo ' - name : openairedatasets
|
||||||
|
echo ' engine : json_engine
|
||||||
|
echo ' paging : True
|
||||||
|
echo ' search_url : http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
|
||||||
|
echo ' results_query : response/results/result
|
||||||
|
echo ' url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
|
||||||
|
echo ' title_query : metadata/oaf:entity/oaf:result/title/$
|
||||||
|
echo ' content_query : metadata/oaf:entity/oaf:result/description/$
|
||||||
|
echo ' categories : science
|
||||||
|
echo ' shortcut : oad
|
||||||
|
echo ' timeout: 5.0
|
||||||
|
echo '';
|
||||||
|
echo ' - name : openairepublications
|
||||||
|
echo ' engine : json_engine
|
||||||
|
echo ' paging : True
|
||||||
|
echo ' search_url : http://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
|
||||||
|
echo ' results_query : response/results/result
|
||||||
|
echo ' url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
|
||||||
|
echo ' title_query : metadata/oaf:entity/oaf:result/title/$
|
||||||
|
echo ' content_query : metadata/oaf:entity/oaf:result/description/$
|
||||||
|
echo ' categories : science
|
||||||
|
echo ' shortcut : oap
|
||||||
|
echo ' timeout: 5.0
|
||||||
|
echo '';
|
||||||
echo ' - name : openrepos';
|
echo ' - name : openrepos';
|
||||||
echo ' engine : xpath';
|
echo ' engine : xpath';
|
||||||
echo ' paging : True';
|
echo ' paging : True';
|
||||||
|
@ -556,11 +625,18 @@ function create_searx_config {
|
||||||
echo ' engine : photon';
|
echo ' engine : photon';
|
||||||
echo ' shortcut : ph';
|
echo ' shortcut : ph';
|
||||||
echo '';
|
echo '';
|
||||||
|
echo ' - name : pubmed
|
||||||
|
echo ' engine : pubmed
|
||||||
|
echo ' shortcut : pub
|
||||||
|
echo ' categories: science
|
||||||
|
echo ' timeout : 3.0
|
||||||
|
echo '';
|
||||||
echo ' - name : piratebay';
|
echo ' - name : piratebay';
|
||||||
echo ' engine : piratebay';
|
echo ' engine : piratebay';
|
||||||
echo ' shortcut : tpb';
|
echo ' shortcut : tpb';
|
||||||
echo ' url: https://pirateproxy.red/';
|
echo ' url: https://pirateproxy.red/';
|
||||||
echo ' timeout : 3.0';
|
echo ' timeout : 3.0';
|
||||||
|
echo ' disabled : True';
|
||||||
echo '';
|
echo '';
|
||||||
echo ' - name : qwant';
|
echo ' - name : qwant';
|
||||||
echo ' engine : qwant';
|
echo ' engine : qwant';
|
||||||
|
@ -638,6 +714,7 @@ function create_searx_config {
|
||||||
echo '# The language is an option. You can put any language written in english';
|
echo '# The language is an option. You can put any language written in english';
|
||||||
echo '# Examples : English, French, German, Hungarian, Chinese...';
|
echo '# Examples : English, French, German, Hungarian, Chinese...';
|
||||||
echo '# language : English';
|
echo '# language : English';
|
||||||
|
echo ' disabled : True';
|
||||||
echo '';
|
echo '';
|
||||||
echo ' - name : startpage';
|
echo ' - name : startpage';
|
||||||
echo ' engine : startpage';
|
echo ' engine : startpage';
|
||||||
|
@ -651,6 +728,7 @@ function create_searx_config {
|
||||||
echo " search_url : 'https://www.ixquick.eu/do/search'";
|
echo " search_url : 'https://www.ixquick.eu/do/search'";
|
||||||
echo ' shortcut : iq';
|
echo ' shortcut : iq';
|
||||||
echo ' timeout : 6.0';
|
echo ' timeout : 6.0';
|
||||||
|
echo ' disabled : True';
|
||||||
echo '';
|
echo '';
|
||||||
echo ' - name : swisscows';
|
echo ' - name : swisscows';
|
||||||
echo ' engine : swisscows';
|
echo ' engine : swisscows';
|
||||||
|
@ -674,6 +752,7 @@ function create_searx_config {
|
||||||
echo ' title_xpath : //*[@class="def-header"]';
|
echo ' title_xpath : //*[@class="def-header"]';
|
||||||
echo ' content_xpath : //*[@class="meaning"]';
|
echo ' content_xpath : //*[@class="meaning"]';
|
||||||
echo ' shortcut : ud';
|
echo ' shortcut : ud';
|
||||||
|
echo ' disabled : True';
|
||||||
echo '';
|
echo '';
|
||||||
echo ' - name : yandex';
|
echo ' - name : yandex';
|
||||||
echo ' engine : yandex';
|
echo ' engine : yandex';
|
||||||
|
|
Loading…
Reference in New Issue