From 465fcfb9bdc829c452b5c3fcd51c03207227e400 Mon Sep 17 00:00:00 2001 From: Noemi Vanyi Date: Wed, 8 Jun 2016 23:22:07 +0200 Subject: [PATCH] add archive.is xpath engine --- searx/settings.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 96455fc23..ff668cf72 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -40,6 +40,17 @@ engines: engine : archlinux shortcut : al + - name : archive is + engine : xpath + search_url : https://archive.is/{query} + url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href + title_xpath : (//div[@class="TEXT-BLOCK"]/a) + content_xpath : //div[@class="TEXT-BLOCK"]/ul/li + categories : general + timeout : 7.0 + disabled : True + shortcut : ai + - name : base engine : base shortcut : bs