summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-02-07 13:48:41 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-02-07 14:55:21 +0100
commit41c03cf0112b859f9d5e93690f4ee36d7271680b (patch)
treeecb846956acd5c21ffa5c26b82ac18b0f76a5e17
parent1f09d7d561e8d074b47df5838c59cdada040e460 (diff)
downloadsearxng-41c03cf0112b859f9d5e93690f4ee36d7271680b.tar.gz
searxng-41c03cf0112b859f9d5e93690f4ee36d7271680b.zip
[drop] metager - xpath engine won't work anymore
The new version of MetaGer needs to reload the reults (into a iframe) with a unique tag (see HTML response below). Implementing a dedicated metager-engine for searx makes no sense to me. The great days of MetaGer seems to be ended. I remember the good old days this project started in the 90's of the last century. But in the last few years it becomes more and more crap. As the name suggested, MetaGer was made for germans in the first place. They have added a english and spain translation but the i18n is very poor compared to what searx offers. It's a pity, lets drop MetaGer. This is the first response, the id (b82679980656899ba5a17ffd02a56846) is unique for each query: $ curl "https://metager.org/meta/meta.ger3?eingabe=foo&submit-query=&focus=web" <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="/index.css?id=b82679980656899ba5a17ffd02a56846"> <script src="/index.js?id=b82679980656899ba5a17ffd02a56846"></script> <title>foo - MetaGer</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> </head> <body> <iframe id="mg-framed" src="https://metager.org/meta/meta.ger3?eingabe=foo&amp;submit-query=&amp;focus=web&amp;mgv=b82679980656899ba5a17ffd02a56846" autofocus="true" onload="this.contentWindow.focus();"></iframe> </body> Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--searx/settings.yml18
1 files changed, 0 insertions, 18 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 4aac91702..785e7a642 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -717,24 +717,6 @@ engines:
require_api_key: false
results: HTML
- - name : metager
- engine : xpath
- paging : False
- search_url : https://metager.org/meta/meta.ger3?eingabe={query}
- url_xpath : //div[@class="result-subheadline"]/a/@href
- title_xpath : //div[@class="result-headline"]/h2/@title
- content_xpath : //div[@class="result-description"]/text()
- categories : general
- shortcut : mg
- disabled : True
- about:
- website: https://metager.org/
- wikidata_id: Q1924645
- official_api_documentation:
- use_official_api: false
- require_api_key: false
- results: HTML
-
- name : microsoft academic
engine : microsoft_academic
categories : science