1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[fix] update geektimes.ru url - it redirects to habr.com

This commit is contained in:
Adam Tauber 2021-03-25 01:02:19 +01:00
parent 50ba2b9e87
commit 45f0e1a859

View File

@ -582,7 +582,7 @@ engines:
- name : geektimes - name : geektimes
engine : xpath engine : xpath
paging : True paging : True
search_url : https://geektimes.ru/search/page{pageno}/?q={query} search_url : https://habr.com/en/search/page{pageno}/?q={query}
url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"] title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")] content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]