Procházet zdrojové kódy

add archive.is xpath engine

Noemi Vanyi před 8 roky
rodič
revize
465fcfb9bd
1 změnil soubory, kde provedl 11 přidání a 0 odebrání
  1. 11
    0
      searx/settings.yml

+ 11
- 0
searx/settings.yml Zobrazit soubor

@@ -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