Browse Source

deusu.de support via xpath

Thomas Renard 8 years ago
parent
commit
c1fa1d8152
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      searx/settings.yml

+ 12
- 0
searx/settings.yml View File

@@ -103,6 +103,18 @@ engines:
103 103
     engine : deezer
104 104
     shortcut : dz
105 105
 
106
+  - name : deusu
107
+    engine : xpath
108
+    paging : True
109
+    first_page_num : 1
110
+    page_size : 10
111
+    search_url : https://deusu.de/query?q={query}&startwith={pageno}1
112
+    url_xpath : //div[@class="result"]/a/@href
113
+    title_xpath : //div[@class="result"]/a
114
+    content_xpath : //div[@class="result"]/span[@class="result_snippet"]
115
+    categories : general
116
+    shortcut : ds
117
+
106 118
   - name : deviantart
107 119
     engine : deviantart
108 120
     shortcut : da