Browse Source

add library genesis engine

maxigas 8 years ago
parent
commit
4ebde2b2af
1 changed files with 11 additions and 0 deletions
  1. 11 0
      searx/settings.yml

+ 11 - 0
searx/settings.yml

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