Pārlūkot izejas kodu

[fix] google scholar engine

Venca24 6 gadus atpakaļ
vecāks
revīzija
4f4df6273b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      searx/settings.yml

+ 1
- 1
searx/settings.yml Parādīt failu

@@ -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"]