summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2020-10-09 12:40:34 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2020-10-09 12:56:37 +0200
commitce000a9fef3327f9ef777676576be5add73dbde2 (patch)
tree6ad7725394e8999d2581a147613a578fd1a00c60 /searx
parentda8b227044f45127f705f6ea94a72d368eea73bb (diff)
downloadsearxng-ce000a9fef3327f9ef777676576be5add73dbde2.tar.gz
searxng-ce000a9fef3327f9ef777676576be5add73dbde2.zip
Fix XPATH of lobste.rs engine && add timeout
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index ae4660f9d..aad632513 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -457,11 +457,13 @@ engines:
engine : xpath
search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
results_xpath : //li[contains(@class, "story")]
- url_xpath : .//span[@class="link"]/a/@href
- title_xpath : .//span[@class="link"]/a
+ url_xpath : .//a[@class="u-url"]/@href
+ title_xpath : .//a[@class="u-url"]
content_xpath : .//a[@class="domain"]
categories : it
shortcut : lo
+ timeout : 3.0
+ disabled: True
- name : metager
engine : xpath