diff options
| author | Noémi Ványi <sitbackandwait@gmail.com> | 2016-11-06 01:17:30 +0100 |
|---|---|---|
| committer | Noémi Ványi <sitbackandwait@gmail.com> | 2016-11-06 01:17:30 +0100 |
| commit | c7906555a0e64939c8905df5c48cda8158e3ae4e (patch) | |
| tree | 96dcc68dc7f3ea7c34c9d0cbf309ce8455cac04a /searx/settings.yml | |
| parent | 51eafdd471fe989accc060f3ebd8efba0d9b6a71 (diff) | |
add lobste.rs xpath engine
Diffstat (limited to 'searx/settings.yml')
| -rw-r--r-- | searx/settings.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 139034590..573cf5458 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -313,6 +313,16 @@ engines: timeout : 4.0 disabled : True + - name : lobste.rs + 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 + content_xpath : .//a[@class="domain"] + categories : it + shortcut : lo + - name : microsoft academic engine : json_engine paging : True |