mirror of https://github.com/searx/searx
Deploying to gh-pages from @ 01e28757d3
🚀
This commit is contained in:
parent
a57cf7ab8c
commit
b58e376114
|
@ -908,7 +908,7 @@
|
|||
<td><p>xpath</p></td>
|
||||
<td><p>3.0</p></td>
|
||||
<td><p>it</p></td>
|
||||
<td><p>y</p></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
|
|
|
@ -900,22 +900,19 @@ $ sudo -H sed -i -e <span class="s2">"s/{instance_name}/searx@</span><span
|
|||
|
||||
<span class="p p-Indicator">-</span> <span class="nt">name </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">hoogle</span>
|
||||
<span class="nt">engine </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">xpath</span>
|
||||
<span class="nt">paging </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">True</span>
|
||||
<span class="nt">search_url </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">https://hoogle.haskell.org/?hoogle={query}&start={pageno}</span>
|
||||
<span class="nt">results_xpath </span><span class="p">:</span> <span class="s">'//div[@class="result"]'</span>
|
||||
<span class="nt">title_xpath </span><span class="p">:</span> <span class="s">'.//div[@class="ans"]//a'</span>
|
||||
<span class="nt">url_xpath </span><span class="p">:</span> <span class="s">'.//div[@class="ans"]//a/@href'</span>
|
||||
<span class="nt">content_xpath </span><span class="p">:</span> <span class="s">'.//div[@class="from"]'</span>
|
||||
<span class="nt">page_size </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">20</span>
|
||||
<span class="nt">title_xpath </span><span class="p">:</span> <span class="s">'./div[@class="ans"]'</span>
|
||||
<span class="nt">url_xpath </span><span class="p">:</span> <span class="s">'./div[@class="ans"]//a/@href'</span>
|
||||
<span class="nt">content_xpath </span><span class="p">:</span> <span class="s">'./div[contains(@class,</span><span class="nv"> </span><span class="s">"doc")]'</span>
|
||||
<span class="nt">categories </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">it</span>
|
||||
<span class="nt">shortcut </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">ho</span>
|
||||
<span class="nt">about</span><span class="p">:</span>
|
||||
<span class="nt">website</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">https://www.haskell.org/</span>
|
||||
<span class="nt">website</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">https://hoogle.haskell.org/</span>
|
||||
<span class="nt">wikidata_id</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">Q34010</span>
|
||||
<span class="nt">official_api_documentation</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">https://hackage.haskell.org/api</span>
|
||||
<span class="nt">use_official_api</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">false</span>
|
||||
<span class="nt">require_api_key</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">false</span>
|
||||
<span class="nt">results</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">JSON</span>
|
||||
<span class="nt">results</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">HTML</span>
|
||||
|
||||
<span class="p p-Indicator">-</span> <span class="nt">name </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">imdb</span>
|
||||
<span class="nt">engine </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">imdb</span>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -182,18 +182,18 @@ inspect service
|
|||
show service status and log
|
||||
option
|
||||
set one of the available options
|
||||
apache (http://fv-az252-207/searx)
|
||||
apache (http://fv-az93-616/searx)
|
||||
:install: apache site with a reverse proxy (ProxyPass)
|
||||
:remove: apache site searx.conf
|
||||
nginx (http://fv-az252-207/searx)
|
||||
nginx (http://fv-az93-616/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-az252-207/searx
|
||||
PUBLIC_HOST : fv-az252-207
|
||||
PUBLIC_URL : http://fv-az93-616/searx
|
||||
PUBLIC_HOST : fv-az93-616
|
||||
SERVICE_USER : filtron
|
||||
FILTRON_TARGET : 127.0.0.1:8888
|
||||
FILTRON_API : 127.0.0.1:4005
|
||||
|
|
|
@ -192,7 +192,7 @@ install
|
|||
:base: prepare LXC; install basic packages
|
||||
:suite: install LXC searx suite into all (or <name>) containers
|
||||
|
||||
LXC suite: searx --> http://fv-az252-207/searx
|
||||
LXC suite: searx --> http://fv-az93-616/searx
|
||||
suite includes searx, morty & filtron
|
||||
suite images:
|
||||
ubu1804 ubu2004 ubu2010 fedora33 archlinux centos7
|
||||
|
|
|
@ -184,22 +184,22 @@ inspect service
|
|||
option
|
||||
set one of the available options
|
||||
:new-key: set new morty key
|
||||
apache : http://fv-az252-207/morty/
|
||||
apache : http://fv-az93-616/morty/
|
||||
:install: apache site with a reverse proxy (ProxyPass)
|
||||
:remove: apache site morty.conf
|
||||
nginx (http://fv-az252-207/morty/)
|
||||
nginx (http://fv-az93-616/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-az252-207/morty/
|
||||
PUBLIC_URL_MORTY: http://fv-az93-616/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-az252-207/morty/
|
||||
url : http://fv-az93-616/morty/
|
||||
server:
|
||||
image_proxy : True
|
||||
</pre></div>
|
||||
|
|
|
@ -111,8 +111,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-az252-207/searx
|
||||
SEARX_INSTANCE_NAME : searx@fv-az252-207
|
||||
PUBLIC_URL : http://fv-az93-616/searx
|
||||
SEARX_INSTANCE_NAME : searx@fv-az93-616
|
||||
SERVICE_USER : searx
|
||||
SEARX_INTERNAL_HTTP : http://127.0.0.1:8888
|
||||
</pre></div>
|
||||
|
|
Loading…
Reference in New Issue