mirror of https://github.com/searx/searx
Merge pull request #1017 from misnyo/geektimes
[fix] geektimes.ru xpath fix
This commit is contained in:
commit
688801076d
|
@ -322,9 +322,9 @@ engines:
|
||||||
engine : xpath
|
engine : xpath
|
||||||
paging : True
|
paging : True
|
||||||
search_url : https://geektimes.ru/search/page{pageno}/?q={query}
|
search_url : https://geektimes.ru/search/page{pageno}/?q={query}
|
||||||
url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href
|
url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
|
||||||
title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]
|
title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
|
||||||
content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
|
content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
|
||||||
categories : it
|
categories : it
|
||||||
timeout : 4.0
|
timeout : 4.0
|
||||||
disabled : True
|
disabled : True
|
||||||
|
@ -334,9 +334,9 @@ engines:
|
||||||
engine : xpath
|
engine : xpath
|
||||||
paging : True
|
paging : True
|
||||||
search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
|
search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
|
||||||
url_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]/@href
|
url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
|
||||||
title_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]
|
title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
|
||||||
content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
|
content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
|
||||||
categories : it
|
categories : it
|
||||||
timeout : 4.0
|
timeout : 4.0
|
||||||
disabled : True
|
disabled : True
|
||||||
|
|
Loading…
Reference in New Issue