Quellcode durchsuchen

add archive.is xpath engine

Noemi Vanyi vor 9 Jahren
Ursprung
Commit
465fcfb9bd
1 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen
  1. 11
    0
      searx/settings.yml

+ 11
- 0
searx/settings.yml Datei anzeigen

@@ -40,6 +40,17 @@ engines:
40 40
     engine : archlinux
41 41
     shortcut : al
42 42
 
43
+  - name : archive is
44
+    engine : xpath
45
+    search_url : https://archive.is/{query}
46
+    url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
47
+    title_xpath : (//div[@class="TEXT-BLOCK"]/a)
48
+    content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
49
+    categories : general
50
+    timeout : 7.0
51
+    disabled : True
52
+    shortcut : ai
53
+
43 54
   - name : base
44 55
     engine : base
45 56
     shortcut : bs