mirror of https://github.com/searx/searx
Deploying to gh-pages from @ 2b60d0d243
🚀
This commit is contained in:
parent
34fc19575a
commit
c5d9851405
|
@ -1630,10 +1630,10 @@
|
|||
</tr>
|
||||
<tr class="row-even"><th class="stub"><p>seznam</p></th>
|
||||
<th class="stub"><p>!szn</p></th>
|
||||
<td><p>xpath</p></td>
|
||||
<td><p>seznam</p></td>
|
||||
<td><p>2.0</p></td>
|
||||
<td><p>general</p></td>
|
||||
<td><p>y</p></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><p>y</p></td>
|
||||
|
|
|
@ -1485,24 +1485,8 @@ $ sudo -H sed -i -e <span class="s2">"s/{instance_name}/searx@</span><span
|
|||
|
||||
<span class="p p-Indicator">-</span> <span class="l l-Scalar l-Scalar-Plain">name</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">seznam</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">shortcut</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">szn</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">engine</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">xpath</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">paging</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">True</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">search_url</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">https://search.seznam.cz/?q={query}&count=10&from={pageno}</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">results_xpath</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">//div[@class="Page-content"]//div[contains(@class, "Result ")]</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">url_xpath</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">./h3/a/@href</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">title_xpath</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">./h3</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">content_xpath</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">.//p[@class="Result-description"]</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">suggestion_xpath</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">//div[@class="Related-container"]//div[@class="RelatedItem"]/div/span/a</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">first_page_num</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">0</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">page_size</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">10</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">engine</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">seznam</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">disabled</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">True</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">about</span><span class="p p-Indicator">:</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">website</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">https://www.seznam.cz/</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">wikidata_id</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">Q3490485</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">official_api_documentation</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">https://api.sklik.cz/</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">use_official_api</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">false</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">require_api_key</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">false</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">results</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">HTML</span>
|
||||
|
||||
<span class="p p-Indicator">-</span> <span class="l l-Scalar l-Scalar-Plain">name</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">mojeek</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">shortcut</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">mjk</span>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -224,18 +224,18 @@ inspect service
|
|||
show service status and log
|
||||
option
|
||||
set one of the available options
|
||||
apache (http://fv-az180-330/searx)
|
||||
apache (http://fv-az139-897/searx)
|
||||
:install: apache site with a reverse proxy (ProxyPass)
|
||||
:remove: apache site searx.conf
|
||||
nginx (http://fv-az180-330/searx)
|
||||
nginx (http://fv-az139-897/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 '.config.sh' file::
|
||||
PUBLIC_URL : http://fv-az180-330/searx
|
||||
PUBLIC_HOST : fv-az180-330
|
||||
PUBLIC_URL : http://fv-az139-897/searx
|
||||
PUBLIC_HOST : fv-az139-897
|
||||
SERVICE_USER : filtron
|
||||
FILTRON_TARGET : 127.0.0.1:8888
|
||||
FILTRON_API : 127.0.0.1:4005
|
||||
|
|
|
@ -197,7 +197,7 @@ install
|
|||
:base: prepare LXC; install basic packages
|
||||
:suite: install LXC searx suite into all (or <name>) containers
|
||||
|
||||
LXC suite: searx --> http://fv-az180-330/searx
|
||||
LXC suite: searx --> http://fv-az139-897/searx
|
||||
suite includes searx, morty & filtron
|
||||
suite images:
|
||||
ubu1604 ubu1804 ubu2004 ubu2010 fedora31 archlinux centos7
|
||||
|
|
|
@ -226,22 +226,22 @@ inspect service
|
|||
option
|
||||
set one of the available options
|
||||
:new-key: set new morty key
|
||||
apache : http://fv-az180-330/morty/
|
||||
apache : http://fv-az139-897/morty/
|
||||
:install: apache site with a reverse proxy (ProxyPass)
|
||||
:remove: apache site morty.conf
|
||||
nginx (http://fv-az180-330/morty/)
|
||||
nginx (http://fv-az139-897/morty/)
|
||||
:install: nginx site with a reverse proxy (ProxyPass)
|
||||
:remove: nginx site morty.conf
|
||||
|
||||
If needed, set the environment variables in the '.config.sh' file::
|
||||
PUBLIC_URL_MORTY: http://fv-az180-330/morty/
|
||||
PUBLIC_URL_MORTY: http://fv-az139-897/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-330/morty/
|
||||
url : http://fv-az139-897/morty/
|
||||
server:
|
||||
image_proxy : True
|
||||
</pre></div>
|
||||
|
|
|
@ -116,8 +116,8 @@ apache
|
|||
searx settings: /etc/searx/settings.yml
|
||||
|
||||
If needed, set PUBLIC_URL of your WEB service in the '.config.sh' file::
|
||||
PUBLIC_URL : http://fv-az180-330/searx
|
||||
SEARX_INSTANCE_NAME : searx@fv-az180-330
|
||||
PUBLIC_URL : http://fv-az139-897/searx
|
||||
SEARX_INSTANCE_NAME : searx@fv-az139-897
|
||||
SERVICE_USER : searx
|
||||
SEARX_INTERNAL_HTTP : http://127.0.0.1:8888
|
||||
</pre></div>
|
||||
|
|
Loading…
Reference in New Issue