mirror of https://github.com/searx/searx
[fix] engine archive is - search_url has been changed
BTW: set soft_max_redirects from *archive is* by 1, to prevent logging:: DEBUG:httpx._client:HTTP Request: GET https://archive.is/search/?q=www.python.org "HTTP/2 302 Found" DEBUG:httpx._client:HTTP Request: GET https://archive.is/www.python.org "HTTP/2 200 OK" DEBUG:searx:archive is: ErrorContext('searx/search/processors/online.py', 110, 'count_error(self.engine_name,', None, '1 redirects, maximum: 0', ('200', 'OK', 'archive.is')) True Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
650a1c0b89
commit
0647b34b1d
|
@ -182,7 +182,7 @@ engines:
|
||||||
|
|
||||||
- name : archive is
|
- name : archive is
|
||||||
engine : xpath
|
engine : xpath
|
||||||
search_url : https://archive.is/{query}
|
search_url : https://archive.is/search/?q={query}
|
||||||
url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
|
url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
|
||||||
title_xpath : (//div[@class="TEXT-BLOCK"]/a)
|
title_xpath : (//div[@class="TEXT-BLOCK"]/a)
|
||||||
content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
|
content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
|
||||||
|
@ -190,6 +190,7 @@ engines:
|
||||||
timeout : 7.0
|
timeout : 7.0
|
||||||
disabled : True
|
disabled : True
|
||||||
shortcut : ai
|
shortcut : ai
|
||||||
|
soft_max_redirects: 1
|
||||||
about:
|
about:
|
||||||
website: https://archive.is/
|
website: https://archive.is/
|
||||||
wikidata_id: Q13515725
|
wikidata_id: Q13515725
|
||||||
|
|
Loading…
Reference in New Issue