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,7 +311,7 @@ engines:
311 311
     engine : xpath
312 312
     paging : True
313 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 315
     url_xpath : .//h3/a/@href
316 316
     title_xpath : .//h3/a
317 317
     content_xpath : .//div[@class="gs_rs"]