summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authormisnyo <misnyo@misnyo.eu>2017-08-31 15:36:49 +0200
committermisnyo <misnyo@misnyo.eu>2017-08-31 15:41:08 +0200
commit971179587675e1b47301019130a7874196e3f65f (patch)
treec3659dcfe08ece860234ec7300ed1a2040364d5a /searx
parente74aaa781e836eeac73af68aa1b4f5014b58b4d3 (diff)
downloadsearxng-971179587675e1b47301019130a7874196e3f65f.tar.gz
searxng-971179587675e1b47301019130a7874196e3f65f.zip
[fix] geektimes.ru xpath fix
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 8f57e2e84..26d4f8bee 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -321,9 +321,9 @@ engines:
engine : xpath
paging : True
search_url : https://geektimes.ru/search/page{pageno}/?q={query}
- url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href
- title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]
- content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
+ url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
+ title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
+ content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
categories : it
timeout : 4.0
disabled : True