Browse Source

Merge pull request #1312 from Venca24/fix_google_scholar

[fix] google scholar engine
Adam Tauber 6 years ago
parent
commit
8dec30123e
No account linked to committer's email
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"]