mirror of https://github.com/searx/searx
[fix] google engine: results XPath
This commit is contained in:
parent
85034b49ef
commit
86bd82d691
|
@ -108,8 +108,8 @@ filter_mapping = {
|
||||||
# specific xpath variables
|
# specific xpath variables
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
# google results are grouped into <div class="g ..." ../>
|
# google results are grouped into <div class="jtfYYd ..." ../>
|
||||||
results_xpath = '//div[@id="search"]//div[contains(@class, "g ")]'
|
results_xpath = '//div[contains(@class, "jtfYYd")]'
|
||||||
results_xpath_mobile_ui = '//div[contains(@class, "g ")]'
|
results_xpath_mobile_ui = '//div[contains(@class, "g ")]'
|
||||||
|
|
||||||
# google *sections* are no usual *results*, we ignore them
|
# google *sections* are no usual *results*, we ignore them
|
||||||
|
|
Loading…
Reference in New Issue