1
0
mirror of https://github.com/searx/searx synced 2024-11-29 05:30:10 +01:00

Deploying to gh-pages from @ d93ac96c9f 🚀

This commit is contained in:
kvch 2021-05-03 20:13:52 +00:00
parent 6d3a244807
commit fbab21cf72
9 changed files with 191 additions and 119 deletions

View File

@ -130,14 +130,12 @@ Global Settings
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 : "" # informations like an email address to the administrator
pool_connections : 100 # Number of different hosts
pool_maxsize : 10 # Number of simultaneous requests by host
pool_connections : 100 # Maximum number of allowable connections, or None for no limits. The default is 100.
pool_maxsize : 10 # Number of allowable keep-alive connections, or None to always allow. The default is 10.
enable_http2: True # See https://www.python-httpx.org/http2/
# uncomment below section if you want to use a proxy
# proxies:
# http:
# - http://proxy1:8080
# - http://proxy2:8080
# https:
# all://:
# - http://proxy1:8080
# - http://proxy2:8080
# uncomment below section only if you have more than one network interface
@ -145,6 +143,7 @@ Global Settings
# source_ips:
# - 1.1.1.1
# - 1.1.1.2
# - fe80::/126
``request_timeout`` :
@ -157,20 +156,46 @@ Global Settings
Suffix to the user-agent searx uses to send requests to others engines. If an
engine wish to block you, a contact info here may be useful to avoid that.
.. _requests proxies: https://requests.readthedocs.io/en/latest/user/advanced/#proxies
.. _PySocks: https://pypi.org/project/PySocks/
``keepalive_expiry``:
Number of seconds to keep a connection in the pool. By default 5.0 seconds.
.. _httpx proxies: https://www.python-httpx.org/advanced/#http-proxying
``proxies`` :
Define one or more proxies you wish to use, see `requests proxies`_.
Define one or more proxies you wish to use, see `httpx proxies`_.
If there are more than one proxy for one protocol (http, https),
requests to the engines are distributed in a round-robin fashion.
- Proxy: `see <https://2.python-requests.org/en/latest/user/advanced/#proxies>`__.
- SOCKS proxies are also supported: `see <https://2.python-requests.org/en/latest/user/advanced/#socks>`__
``source_ips`` :
If you use multiple network interfaces, define from which IP the requests must
be made. This parameter is ignored when ``proxies`` is set.
be made. Example:
* ``0.0.0.0`` any local IPv4 address.
* ``::`` any local IPv6 address.
* ``192.168.0.1``
* ``[ 192.168.0.1, 192.168.0.2 ]`` these two specific IP addresses
* ``fe80::60a2:1691:e5a2:ee1f``
* ``fe80::60a2:1691:e5a2:ee1f/126`` all IP addresses in this network.
* ``[ 192.168.0.1, fe80::/126 ]``
``retries`` :
Number of retry in case of an HTTP error.
On each retry, searx uses an different proxy and source ip.
``retry_on_http_error`` :
Retry request on some HTTP status code.
Example:
* ``true`` : on HTTP status code between 400 and 599.
* ``403`` : on HTTP status code 403.
* ``[403, 429]``: on HTTP status code 403 and 429.
``enable_http2`` :
Enable by default. Set to ``False`` to disable HTTP/2.
``max_redirects`` :
30 by default. Maximum redirect before it is an error.
``locales:``
@ -216,6 +241,13 @@ Engine settings
api_key : 'apikey'
disabled : True
language : en_US
#enable_http: False
#enable_http2: False
#retries: 1
#retry_on_http_error: True # or 403 or [404, 429]
#max_connections: 100
#max_keepalive_connections: 10
#keepalive_expiry: 5.0
#proxies:
# http:
# - http://proxy1:8080
@ -270,6 +302,12 @@ Engine settings
``display_error_messages`` : default ``True``
When an engine returns an error, the message is displayed on the user interface.
``network``: optional
Use the network configuration from another engine.
In addition, there are two default networks:
* ``ipv4`` set ``local_addresses`` to ``0.0.0.0`` (use only IPv4 local addresses)
* ``ipv6`` set ``local_addresses`` to ``::`` (use only IPv6 local addresses)
.. note::
A few more options are possible, but they are pretty specific to some

View File

@ -173,7 +173,7 @@
<tr class="row-odd"><th class="stub"><p>arch linux wiki</p></th>
<th class="stub"><p>!al</p></th>
<td><p>archlinux</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>it</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -218,7 +218,7 @@
<tr class="row-even"><th class="stub"><p>bandcamp</p></th>
<th class="stub"><p>!bc</p></th>
<td><p>bandcamp</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>music</p></td>
<td><p>y</p></td>
<td></td>
@ -233,7 +233,7 @@
<tr class="row-odd"><th class="stub"><p>wikipedia</p></th>
<th class="stub"><p>!wp</p></th>
<td><p>wikipedia</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td></td>
<td><p>y</p></td>
@ -248,7 +248,7 @@
<tr class="row-even"><th class="stub"><p>bing</p></th>
<th class="stub"><p>!bi</p></th>
<td><p>bing</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -263,7 +263,7 @@
<tr class="row-odd"><th class="stub"><p>bing images</p></th>
<th class="stub"><p>!bii</p></th>
<td><p>bing_images</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>images</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -278,7 +278,7 @@
<tr class="row-even"><th class="stub"><p>bing news</p></th>
<th class="stub"><p>!bin</p></th>
<td><p>bing_news</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>news</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -293,7 +293,7 @@
<tr class="row-odd"><th class="stub"><p>bing videos</p></th>
<th class="stub"><p>!biv</p></th>
<td><p>bing_videos</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -323,7 +323,7 @@
<tr class="row-odd"><th class="stub"><p>btdigg</p></th>
<th class="stub"><p>!bt</p></th>
<td><p>btdigg</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos, music, files</p></td>
<td><p>y</p></td>
<td></td>
@ -338,7 +338,7 @@
<tr class="row-even"><th class="stub"><p>ccc-tv</p></th>
<th class="stub"><p>!c3tv</p></th>
<td><p>xpath</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td></td>
<td></td>
@ -353,7 +353,7 @@
<tr class="row-odd"><th class="stub"><p>ccengine</p></th>
<th class="stub"><p>!cce</p></th>
<td><p>ccengine</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>images</p></td>
<td><p>y</p></td>
<td></td>
@ -368,7 +368,7 @@
<tr class="row-even"><th class="stub"><p>crossref</p></th>
<th class="stub"><p>!cr</p></th>
<td><p>json_engine</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>science</p></td>
<td><p>y</p></td>
<td></td>
@ -383,7 +383,7 @@
<tr class="row-odd"><th class="stub"><p>currency</p></th>
<th class="stub"><p>!cc</p></th>
<td><p>currency_convert</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td></td>
<td></td>
@ -398,7 +398,7 @@
<tr class="row-even"><th class="stub"><p>deezer</p></th>
<th class="stub"><p>!dz</p></th>
<td><p>deezer</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>music</p></td>
<td><p>y</p></td>
<td></td>
@ -428,7 +428,7 @@
<tr class="row-even"><th class="stub"><p>ddg definitions</p></th>
<th class="stub"><p>!ddd</p></th>
<td><p>duckduckgo_definitions</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td></td>
<td><p>y</p></td>
@ -443,7 +443,7 @@
<tr class="row-odd"><th class="stub"><p>digg</p></th>
<th class="stub"><p>!dg</p></th>
<td><p>digg</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>news, social media</p></td>
<td><p>y</p></td>
<td></td>
@ -458,7 +458,7 @@
<tr class="row-even"><th class="stub"><p>erowid</p></th>
<th class="stub"><p>!ew</p></th>
<td><p>xpath</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -488,7 +488,7 @@
<tr class="row-even"><th class="stub"><p>duckduckgo</p></th>
<th class="stub"><p>!ddg</p></th>
<td><p>duckduckgo</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td></td>
<td><p>y</p></td>
@ -518,7 +518,7 @@
<tr class="row-even"><th class="stub"><p>etools</p></th>
<th class="stub"><p>!eto</p></th>
<td><p>etools</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td></td>
<td></td>
@ -533,7 +533,7 @@
<tr class="row-odd"><th class="stub"><p>etymonline</p></th>
<th class="stub"><p>!et</p></th>
<td><p>xpath</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -563,7 +563,7 @@
<tr class="row-odd"><th class="stub"><p>fdroid</p></th>
<th class="stub"><p>!fd</p></th>
<td><p>fdroid</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>files</p></td>
<td><p>y</p></td>
<td></td>
@ -578,7 +578,7 @@
<tr class="row-even"><th class="stub"><p>flickr</p></th>
<th class="stub"><p>!fl</p></th>
<td><p>flickr_noapi</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>images</p></td>
<td><p>y</p></td>
<td></td>
@ -608,7 +608,7 @@
<tr class="row-even"><th class="stub"><p>frinkiac</p></th>
<th class="stub"><p>!frk</p></th>
<td><p>frinkiac</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>images</p></td>
<td></td>
<td></td>
@ -623,7 +623,7 @@
<tr class="row-odd"><th class="stub"><p>genius</p></th>
<th class="stub"><p>!gen</p></th>
<td><p>genius</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>music</p></td>
<td><p>y</p></td>
<td></td>
@ -653,7 +653,7 @@
<tr class="row-odd"><th class="stub"><p>gentoo</p></th>
<th class="stub"><p>!ge</p></th>
<td><p>gentoo</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>it</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -683,7 +683,7 @@
<tr class="row-odd"><th class="stub"><p>github</p></th>
<th class="stub"><p>!gh</p></th>
<td><p>github</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>it</p></td>
<td></td>
<td></td>
@ -698,7 +698,7 @@
<tr class="row-even"><th class="stub"><p>codeberg</p></th>
<th class="stub"><p>!cb</p></th>
<td><p>json_engine</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>it</p></td>
<td></td>
<td></td>
@ -713,7 +713,7 @@
<tr class="row-odd"><th class="stub"><p>google</p></th>
<th class="stub"><p>!go</p></th>
<td><p>google</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -728,7 +728,7 @@
<tr class="row-even"><th class="stub"><p>google images</p></th>
<th class="stub"><p>!goi</p></th>
<td><p>google_images</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>images</p></td>
<td></td>
<td><p>y</p></td>
@ -743,7 +743,7 @@
<tr class="row-odd"><th class="stub"><p>google news</p></th>
<th class="stub"><p>!gon</p></th>
<td><p>google_news</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>news</p></td>
<td></td>
<td><p>y</p></td>
@ -758,7 +758,7 @@
<tr class="row-even"><th class="stub"><p>google videos</p></th>
<th class="stub"><p>!gov</p></th>
<td><p>google_videos</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td></td>
<td><p>y</p></td>
@ -773,7 +773,7 @@
<tr class="row-odd"><th class="stub"><p>google scholar</p></th>
<th class="stub"><p>!gos</p></th>
<td><p>google_scholar</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>science</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -788,7 +788,7 @@
<tr class="row-even"><th class="stub"><p>google play apps</p></th>
<th class="stub"><p>!gpa</p></th>
<td><p>xpath</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>files</p></td>
<td></td>
<td></td>
@ -803,7 +803,7 @@
<tr class="row-odd"><th class="stub"><p>google play movies</p></th>
<th class="stub"><p>!gpm</p></th>
<td><p>xpath</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td></td>
<td></td>
@ -848,7 +848,7 @@
<tr class="row-even"><th class="stub"><p>hoogle</p></th>
<th class="stub"><p>!ho</p></th>
<td><p>xpath</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>it</p></td>
<td><p>y</p></td>
<td></td>
@ -923,7 +923,7 @@
<tr class="row-odd"><th class="stub"><p>library of congress</p></th>
<th class="stub"><p>!loc</p></th>
<td><p>loc</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>images</p></td>
<td><p>y</p></td>
<td></td>
@ -953,7 +953,7 @@
<tr class="row-odd"><th class="stub"><p>microsoft academic</p></th>
<th class="stub"><p>!ma</p></th>
<td><p>microsoft_academic</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>science</p></td>
<td><p>y</p></td>
<td></td>
@ -968,7 +968,7 @@
<tr class="row-even"><th class="stub"><p>mixcloud</p></th>
<th class="stub"><p>!mc</p></th>
<td><p>mixcloud</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>music</p></td>
<td><p>y</p></td>
<td></td>
@ -998,7 +998,7 @@
<tr class="row-even"><th class="stub"><p>nyaa</p></th>
<th class="stub"><p>!nt</p></th>
<td><p>nyaa</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>files, images, videos, music</p></td>
<td><p>y</p></td>
<td></td>
@ -1043,7 +1043,7 @@
<tr class="row-odd"><th class="stub"><p>openstreetmap</p></th>
<th class="stub"><p>!osm</p></th>
<td><p>openstreetmap</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>map</p></td>
<td></td>
<td></td>
@ -1073,7 +1073,7 @@
<tr class="row-odd"><th class="stub"><p>pdbe</p></th>
<th class="stub"><p>!pdb</p></th>
<td><p>pdbe</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>science</p></td>
<td></td>
<td></td>
@ -1088,7 +1088,7 @@
<tr class="row-even"><th class="stub"><p>photon</p></th>
<th class="stub"><p>!ph</p></th>
<td><p>photon</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>map</p></td>
<td></td>
<td><p>y</p></td>
@ -1133,7 +1133,7 @@
<tr class="row-odd"><th class="stub"><p>qwant</p></th>
<th class="stub"><p>!qw</p></th>
<td><p>qwant</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -1148,7 +1148,7 @@
<tr class="row-even"><th class="stub"><p>qwant images</p></th>
<th class="stub"><p>!qwi</p></th>
<td><p>qwant</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>images</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -1163,7 +1163,7 @@
<tr class="row-odd"><th class="stub"><p>qwant news</p></th>
<th class="stub"><p>!qwn</p></th>
<td><p>qwant</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>news</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -1193,7 +1193,7 @@
<tr class="row-odd"><th class="stub"><p>sepiasearch</p></th>
<th class="stub"><p>!sep</p></th>
<td><p>sepiasearch</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -1208,7 +1208,7 @@
<tr class="row-even"><th class="stub"><p>soundcloud</p></th>
<th class="stub"><p>!sc</p></th>
<td><p>soundcloud</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>music</p></td>
<td><p>y</p></td>
<td></td>
@ -1223,7 +1223,7 @@
<tr class="row-odd"><th class="stub"><p>stackoverflow</p></th>
<th class="stub"><p>!st</p></th>
<td><p>stackoverflow</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>it</p></td>
<td><p>y</p></td>
<td></td>
@ -1238,7 +1238,7 @@
<tr class="row-even"><th class="stub"><p>searchcode code</p></th>
<th class="stub"><p>!scc</p></th>
<td><p>searchcode_code</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>it</p></td>
<td><p>y</p></td>
<td></td>
@ -1253,7 +1253,7 @@
<tr class="row-odd"><th class="stub"><p>framalibre</p></th>
<th class="stub"><p>!frl</p></th>
<td><p>framalibre</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>it</p></td>
<td><p>y</p></td>
<td></td>
@ -1268,7 +1268,7 @@
<tr class="row-even"><th class="stub"><p>semantic scholar</p></th>
<th class="stub"><p>!se</p></th>
<td><p>semantic_scholar</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>science</p></td>
<td></td>
<td></td>
@ -1343,7 +1343,7 @@
<tr class="row-odd"><th class="stub"><p>unsplash</p></th>
<th class="stub"><p>!us</p></th>
<td><p>unsplash</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>images</p></td>
<td><p>y</p></td>
<td></td>
@ -1358,7 +1358,7 @@
<tr class="row-even"><th class="stub"><p>yahoo</p></th>
<th class="stub"><p>!yh</p></th>
<td><p>yahoo</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -1373,7 +1373,7 @@
<tr class="row-odd"><th class="stub"><p>yahoo news</p></th>
<th class="stub"><p>!yhn</p></th>
<td><p>yahoo_news</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>news</p></td>
<td><p>y</p></td>
<td></td>
@ -1388,7 +1388,7 @@
<tr class="row-even"><th class="stub"><p>youtube</p></th>
<th class="stub"><p>!yt</p></th>
<td><p>youtube_noapi</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos, music</p></td>
<td><p>y</p></td>
<td></td>
@ -1418,7 +1418,7 @@
<tr class="row-even"><th class="stub"><p>dailymotion</p></th>
<th class="stub"><p>!dm</p></th>
<td><p>dailymotion</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -1433,7 +1433,7 @@
<tr class="row-odd"><th class="stub"><p>vimeo</p></th>
<th class="stub"><p>!vm</p></th>
<td><p>vimeo</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td><p>y</p></td>
<td></td>
@ -1448,7 +1448,7 @@
<tr class="row-even"><th class="stub"><p>wiby</p></th>
<th class="stub"><p>!wib</p></th>
<td><p>json_engine</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td></td>
<td></td>
@ -1463,7 +1463,7 @@
<tr class="row-odd"><th class="stub"><p>wikibooks</p></th>
<th class="stub"><p>!wb</p></th>
<td><p>mediawiki</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -1478,7 +1478,7 @@
<tr class="row-even"><th class="stub"><p>wikinews</p></th>
<th class="stub"><p>!wn</p></th>
<td><p>mediawiki</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>news</p></td>
<td><p>y</p></td>
<td></td>
@ -1493,7 +1493,7 @@
<tr class="row-odd"><th class="stub"><p>wikiquote</p></th>
<th class="stub"><p>!wq</p></th>
<td><p>mediawiki</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -1508,7 +1508,7 @@
<tr class="row-even"><th class="stub"><p>wikisource</p></th>
<th class="stub"><p>!ws</p></th>
<td><p>mediawiki</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -1523,7 +1523,7 @@
<tr class="row-odd"><th class="stub"><p>wiktionary</p></th>
<th class="stub"><p>!wt</p></th>
<td><p>mediawiki</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -1538,7 +1538,7 @@
<tr class="row-even"><th class="stub"><p>wikiversity</p></th>
<th class="stub"><p>!wv</p></th>
<td><p>mediawiki</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -1553,7 +1553,7 @@
<tr class="row-odd"><th class="stub"><p>wikivoyage</p></th>
<th class="stub"><p>!wy</p></th>
<td><p>mediawiki</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -1583,7 +1583,7 @@
<tr class="row-odd"><th class="stub"><p>dictzone</p></th>
<th class="stub"><p>!dc</p></th>
<td><p>dictzone</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td></td>
<td></td>
@ -1613,7 +1613,7 @@
<tr class="row-odd"><th class="stub"><p>1337x</p></th>
<th class="stub"><p>!1337x</p></th>
<td><p>1337x</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td><p>y</p></td>
<td></td>
@ -1628,7 +1628,7 @@
<tr class="row-even"><th class="stub"><p>duden</p></th>
<th class="stub"><p>!du</p></th>
<td><p>duden</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -1643,7 +1643,7 @@
<tr class="row-odd"><th class="stub"><p>seznam</p></th>
<th class="stub"><p>!szn</p></th>
<td><p>seznam</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td></td>
<td></td>
@ -1658,7 +1658,7 @@
<tr class="row-even"><th class="stub"><p>mojeek</p></th>
<th class="stub"><p>!mjk</p></th>
<td><p>xpath</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -1673,7 +1673,7 @@
<tr class="row-odd"><th class="stub"><p>naver</p></th>
<th class="stub"><p>!nvr</p></th>
<td><p>xpath</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>general</p></td>
<td><p>y</p></td>
<td></td>
@ -1688,7 +1688,7 @@
<tr class="row-even"><th class="stub"><p>rubygems</p></th>
<th class="stub"><p>!rbg</p></th>
<td><p>xpath</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>it</p></td>
<td><p>y</p></td>
<td></td>
@ -1703,7 +1703,7 @@
<tr class="row-odd"><th class="stub"><p>peertube</p></th>
<th class="stub"><p>!ptb</p></th>
<td><p>peertube</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td><p>y</p></td>
<td><p>y</p></td>
@ -1718,7 +1718,7 @@
<tr class="row-even"><th class="stub"><p>mediathekviewweb</p></th>
<th class="stub"><p>!mvw</p></th>
<td><p>mediathekviewweb</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td><p>y</p></td>
<td></td>
@ -1733,7 +1733,7 @@
<tr class="row-odd"><th class="stub"><p>rumble</p></th>
<th class="stub"><p>!ru</p></th>
<td><p>rumble</p></td>
<td><p>2.0</p></td>
<td><p>3.0</p></td>
<td><p>videos</p></td>
<td><p>y</p></td>
<td></td>

View File

@ -279,19 +279,17 @@ $ sudo -H sed -i -e <span class="s2">&quot;s/{instance_name}/searx@</span><span
<span class="c1"># key : !!binary &quot;your_morty_proxy_key&quot;</span>
<span class="nt">outgoing</span><span class="p">:</span> <span class="c1"># communication with search engines</span>
<span class="nt">request_timeout </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">2.0</span> <span class="c1"># default timeout in seconds, can be override by engine</span>
<span class="nt">request_timeout </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">3.0</span> <span class="c1"># default timeout in seconds, can be override by engine</span>
<span class="c1"># max_request_timeout: 10.0 # the maximum timeout in seconds</span>
<span class="nt">useragent_suffix </span><span class="p">:</span> <span class="s">&quot;&quot;</span> <span class="c1"># suffix of searx_useragent, could contain informations like an email address to the administrator</span>
<span class="nt">pool_connections </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">100</span> <span class="c1"># Number of different hosts</span>
<span class="nt">pool_maxsize </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">10</span> <span class="c1"># Number of simultaneous requests by host</span>
<span class="nt">pool_connections </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">100</span> <span class="c1"># The maximum number of concurrent connections that may be established.</span>
<span class="nt">pool_maxsize </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">20</span> <span class="c1"># Allow the connection pool to maintain keep-alive connections below this point.</span>
<span class="nt">enable_http2</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">True</span> <span class="c1"># See https://www.python-httpx.org/http2/</span>
<span class="c1"># uncomment below section if you want to use a proxy</span>
<span class="c1"># see https://2.python-requests.org/en/latest/user/advanced/#proxies</span>
<span class="c1"># SOCKS proxies are also supported: see https://2.python-requests.org/en/latest/user/advanced/#socks</span>
<span class="c1"># proxies:</span>
<span class="c1"># http:</span>
<span class="c1"># - http://proxy1:8080</span>
<span class="c1"># - http://proxy2:8080</span>
<span class="c1"># https:</span>
<span class="c1"># all://:</span>
<span class="c1"># - http://proxy1:8080</span>
<span class="c1"># - http://proxy2:8080</span>
<span class="c1"># using_tor_proxy : True</span>
@ -301,6 +299,7 @@ $ sudo -H sed -i -e <span class="s2">&quot;s/{instance_name}/searx@</span><span
<span class="c1"># source_ips:</span>
<span class="c1"># - 1.1.1.1</span>
<span class="c1"># - 1.1.1.2</span>
<span class="c1"># - fe80::/126</span>
<span class="c1"># External plugin configuration</span>
<span class="c1"># See http://searx.github.io/searx/dev/plugins.html for more details</span>
@ -1099,11 +1098,13 @@ $ sudo -H sed -i -e <span class="s2">&quot;s/{instance_name}/searx@</span><span
<span class="nt">engine </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">qwant</span>
<span class="nt">shortcut </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">qwi</span>
<span class="nt">categories </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">images</span>
<span class="nt">network</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">qwant</span>
<span class="p p-Indicator">-</span> <span class="nt">name </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">qwant news</span>
<span class="nt">engine </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">qwant</span>
<span class="nt">shortcut </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">qwn</span>
<span class="nt">categories </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">news</span>
<span class="nt">network</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">qwant</span>
<span class="c1"># - name: library</span>
<span class="c1"># engine: recoll</span>

View File

@ -165,14 +165,12 @@ code, like <code class="docutils literal notranslate"><span class="pre">fr</span
<span class="nt">request_timeout </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">2.0</span> <span class="c1"># default timeout in seconds, can be override by engine</span>
<span class="c1"># max_request_timeout: 10.0 # the maximum timeout in seconds</span>
<span class="nt">useragent_suffix </span><span class="p">:</span> <span class="s">&quot;&quot;</span> <span class="c1"># informations like an email address to the administrator</span>
<span class="nt">pool_connections </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">100</span> <span class="c1"># Number of different hosts</span>
<span class="nt">pool_maxsize </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">10</span> <span class="c1"># Number of simultaneous requests by host</span>
<span class="nt">pool_connections </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">100</span> <span class="c1"># Maximum number of allowable connections, or None for no limits. The default is 100.</span>
<span class="nt">pool_maxsize </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">10</span> <span class="c1"># Number of allowable keep-alive connections, or None to always allow. The default is 10.</span>
<span class="nt">enable_http2</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">True</span> <span class="c1"># See https://www.python-httpx.org/http2/</span>
<span class="c1"># uncomment below section if you want to use a proxy</span>
<span class="c1"># proxies:</span>
<span class="c1"># http:</span>
<span class="c1"># - http://proxy1:8080</span>
<span class="c1"># - http://proxy2:8080</span>
<span class="c1"># https:</span>
<span class="c1"># all://:</span>
<span class="c1"># - http://proxy1:8080</span>
<span class="c1"># - http://proxy2:8080</span>
<span class="c1"># uncomment below section only if you have more than one network interface</span>
@ -180,6 +178,7 @@ code, like <code class="docutils literal notranslate"><span class="pre">fr</span
<span class="c1"># source_ips:</span>
<span class="c1"># - 1.1.1.1</span>
<span class="c1"># - 1.1.1.2</span>
<span class="c1"># - fe80::/126</span>
</pre></div>
</div>
<dl class="simple">
@ -191,18 +190,40 @@ timeout to load). Can be override by <a class="reference internal" href="#settin
<dt><code class="docutils literal notranslate"><span class="pre">useragent_suffix</span></code> :</dt><dd><p>Suffix to the user-agent searx uses to send requests to others engines. If an
engine wish to block you, a contact info here may be useful to avoid that.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">keepalive_expiry</span></code>:</dt><dd><p>Number of seconds to keep a connection in the pool. By default 5.0 seconds.</p>
</dd>
</dl>
<dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">proxies</span></code> :</dt><dd><p>Define one or more proxies you wish to use, see <a class="reference external" href="https://requests.readthedocs.io/en/latest/user/advanced/#proxies">requests proxies</a>.
<dl>
<dt><code class="docutils literal notranslate"><span class="pre">proxies</span></code> :</dt><dd><p>Define one or more proxies you wish to use, see <a class="reference external" href="https://www.python-httpx.org/advanced/#http-proxying">httpx proxies</a>.
If there are more than one proxy for one protocol (http, https),
requests to the engines are distributed in a round-robin fashion.</p>
<ul class="simple">
<li><p>Proxy: <a class="reference external" href="https://2.python-requests.org/en/latest/user/advanced/#proxies">see</a>.</p></li>
<li><p>SOCKS proxies are also supported: <a class="reference external" href="https://2.python-requests.org/en/latest/user/advanced/#socks">see</a></p></li>
</ul>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">source_ips</span></code> :</dt><dd><p>If you use multiple network interfaces, define from which IP the requests must
be made. This parameter is ignored when <code class="docutils literal notranslate"><span class="pre">proxies</span></code> is set.</p>
be made. Example:</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">0.0.0.0</span></code> any local IPv4 address.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">::</span></code> any local IPv6 address.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">192.168.0.1</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">[</span> <span class="pre">192.168.0.1,</span> <span class="pre">192.168.0.2</span> <span class="pre">]</span></code> these two specific IP addresses</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">fe80::60a2:1691:e5a2:ee1f</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">fe80::60a2:1691:e5a2:ee1f/126</span></code> all IP addresses in this network.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">[</span> <span class="pre">192.168.0.1,</span> <span class="pre">fe80::/126</span> <span class="pre">]</span></code></p></li>
</ul>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">retries</span></code> :</dt><dd><p>Number of retry in case of an HTTP error.
On each retry, searx uses an different proxy and source ip.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">retry_on_http_error</span></code> :</dt><dd><p>Retry request on some HTTP status code.</p>
<p>Example:</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">true</span></code> : on HTTP status code between 400 and 599.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">403</span></code> : on HTTP status code 403.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">[403,</span> <span class="pre">429]</span></code>: on HTTP status code 403 and 429.</p></li>
</ul>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">enable_http2</span></code> :</dt><dd><p>Enable by default. Set to <code class="docutils literal notranslate"><span class="pre">False</span></code> to disable HTTP/2.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">max_redirects</span></code> :</dt><dd><p>30 by default. Maximum redirect before it is an error.</p>
</dd>
</dl>
</div>
@ -246,6 +267,13 @@ be made. This parameter is ignored when <code class="docutils literal notranslat
<span class="nt">api_key </span><span class="p">:</span> <span class="s">&#39;apikey&#39;</span>
<span class="nt">disabled </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">True</span>
<span class="nt">language </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">en_US</span>
<span class="c1">#enable_http: False</span>
<span class="c1">#enable_http2: False</span>
<span class="c1">#retries: 1</span>
<span class="c1">#retry_on_http_error: True # or 403 or [404, 429]</span>
<span class="c1">#max_connections: 100</span>
<span class="c1">#max_keepalive_connections: 10</span>
<span class="c1">#keepalive_expiry: 5.0</span>
<span class="c1">#proxies:</span>
<span class="c1"># http:</span>
<span class="c1"># - http://proxy1:8080</span>
@ -291,6 +319,11 @@ by using the full ISO code of language and country, like <code class="docutils l
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">display_error_messages</span></code><span class="classifier">default <code class="docutils literal notranslate"><span class="pre">True</span></code></span></dt><dd><p>When an engine returns an error, the message is displayed on the user interface.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">network</span></code>: optional</dt><dd><p>Use the network configuration from another engine.
In addition, there are two default networks:
* <code class="docutils literal notranslate"><span class="pre">ipv4</span></code> set <code class="docutils literal notranslate"><span class="pre">local_addresses</span></code> to <code class="docutils literal notranslate"><span class="pre">0.0.0.0</span></code> (use only IPv4 local addresses)
* <code class="docutils literal notranslate"><span class="pre">ipv6</span></code> set <code class="docutils literal notranslate"><span class="pre">local_addresses</span></code> to <code class="docutils literal notranslate"><span class="pre">::</span></code> (use only IPv6 local addresses)</p>
</dd>
</dl>
<div class="admonition note">
<p class="admonition-title">Note</p>

File diff suppressed because one or more lines are too long

View File

@ -184,18 +184,18 @@ inspect service
show service status and log
option
set one of the available options
apache (http://fv-az180-946/searx)
apache (http://fv-az144-489/searx)
:install: apache site with a reverse proxy (ProxyPass)
:remove: apache site searx.conf
nginx (http://fv-az180-946/searx)
nginx (http://fv-az144-489/searx)
:install: nginx site with a reverse proxy (ProxyPass)
:remove: nginx site searx.conf
filtron rules: /etc/filtron/rules.json
If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file::
PUBLIC_URL : http://fv-az180-946/searx
PUBLIC_HOST : fv-az180-946
PUBLIC_URL : http://fv-az144-489/searx
PUBLIC_HOST : fv-az144-489
SERVICE_USER : filtron
FILTRON_TARGET : 127.0.0.1:8888
FILTRON_API : 127.0.0.1:4005

View File

@ -194,7 +194,7 @@ install
:base: prepare LXC; install basic packages
:suite: install LXC searx suite into all (or &lt;name&gt;) containers
LXC suite: searx --&gt; http://fv-az180-946/searx
LXC suite: searx --&gt; http://fv-az144-489/searx
suite includes searx, morty &amp; filtron
suite images:
ubu1804 ubu2004 ubu2010 fedora33 archlinux centos7

View File

@ -186,22 +186,22 @@ inspect service
option
set one of the available options
:new-key: set new morty key
apache : http://fv-az180-946/morty/
apache : http://fv-az144-489/morty/
:install: apache site with a reverse proxy (ProxyPass)
:remove: apache site morty.conf
nginx (http://fv-az180-946/morty/)
nginx (http://fv-az144-489/morty/)
:install: nginx site with a reverse proxy (ProxyPass)
:remove: nginx site morty.conf
If needed, set the environment variables in the &#39;.config.sh&#39; file::
PUBLIC_URL_MORTY: http://fv-az180-946/morty/
PUBLIC_URL_MORTY: http://fv-az144-489/morty/
MORTY_LISTEN: 127.0.0.1:3000
SERVICE_USER: morty
To activate result and image proxy in searx, edit settings.yml (read:
https://searx.github.io/searx/admin/morty.html)::
result_proxy:
url : http://fv-az180-946/morty/
url : http://fv-az144-489/morty/
server:
image_proxy : True
</pre></div>

View File

@ -113,8 +113,8 @@ apache
searx settings: /etc/searx/settings.yml
If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file::
PUBLIC_URL : http://fv-az180-946/searx
SEARX_INSTANCE_NAME : searx@fv-az180-946
PUBLIC_URL : http://fv-az144-489/searx
SEARX_INSTANCE_NAME : searx@fv-az144-489
SERVICE_USER : searx
SEARX_INTERNAL_HTTP : http://127.0.0.1:8888
</pre></div>