Merge pull request #1312 from Venca24/fix_google_scholar

[fix] google scholar engine
This commit is contained in:
Adam Tauber 2018-06-06 12:03:08 +02:00 committed by GitHub
commit 8dec30123e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -311,7 +311,7 @@ engines:
engine : xpath engine : xpath
paging : True paging : True
search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1 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 url_xpath : .//h3/a/@href
title_xpath : .//h3/a title_xpath : .//h3/a
content_xpath : .//div[@class="gs_rs"] content_xpath : .//div[@class="gs_rs"]