瀏覽代碼

add library genesis engine

maxigas 8 年之前
父節點
當前提交
4ebde2b2af
共有 1 個檔案被更改,包括 11 行新增0 行删除
  1. 11
    0
      searx/settings.yml

+ 11
- 0
searx/settings.yml 查看文件

@@ -339,6 +339,17 @@ engines:
339 339
     timeout : 4.0
340 340
     disabled : True
341 341
 
342
+  - name : library genesis
343
+    engine : xpath
344
+    search_url : http://libgen.io/search.php?req={query}
345
+    url_xpath : //a[contains(@href,"bookfi.net")]/@href
346
+    title_xpath : //a[contains(@href,"book/")]/text()[1]
347
+    content_xpath : //td/a[1][contains(@href,"=author")]/text()
348
+    categories : general
349
+    timeout : 7.0
350
+    disabled : True
351
+    shortcut : lg
352
+
342 353
   - name : lobste.rs
343 354
     engine : xpath
344 355
     search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance