diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-05-17 15:21:53 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-05-17 15:21:53 +0200 |
commit | 57cdf180feaf43fa7596c7a38816ebbfc49aad35 (patch) | |
tree | f2615ccda48ec50b1ebaa33d88c2bb0078117ca8 /searx | |
parent | ffcebf5e1260ec6c468efce78ec3fbccb114ba3f (diff) | |
download | searxng-57cdf180feaf43fa7596c7a38816ebbfc49aad35.tar.gz searxng-57cdf180feaf43fa7596c7a38816ebbfc49aad35.zip |
[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>
Diffstat (limited to 'searx')
-rw-r--r-- | searx/settings.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 435a638e8..b0c425e4f 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -170,7 +170,7 @@ engines: - name : archive is engine : xpath - search_url : https://archive.is/{query} + search_url : https://archive.is/search/?q={query} url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href title_xpath : (//div[@class="TEXT-BLOCK"]/a) content_xpath : //div[@class="TEXT-BLOCK"]/ul/li @@ -178,6 +178,7 @@ engines: timeout : 7.0 disabled : True shortcut : ai + soft_max_redirects: 1 about: website: https://archive.is/ wikidata_id: Q13515725 |