Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce000a9f authored by Noémi Ványi's avatar Noémi Ványi
Browse files

Fix XPATH of lobste.rs engine && add timeout

parent da8b2270
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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