Browse Source

[fix] google scholar engine

Venca24 7 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

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