Browse Source

[fix] google scholar engine

Venca24 6 years ago
parent
commit
4f4df6273b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      searx/settings.yml

+ 1
- 1
searx/settings.yml View File

311
     engine : xpath
311
     engine : xpath
312
     paging : True
312
     paging : True
313
     search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
313
     search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
314
-    results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
314
+    results_xpath : //div[contains(@class, "gs_r")]/div[@class="gs_ri"]
315
     url_xpath : .//h3/a/@href
315
     url_xpath : .//h3/a/@href
316
     title_xpath : .//h3/a
316
     title_xpath : .//h3/a
317
     content_xpath : .//div[@class="gs_rs"]
317
     content_xpath : .//div[@class="gs_rs"]