forked from zaclys/searxng
[fix] google engine: results XPath
This commit is contained in:
parent
747cf1a246
commit
950f036c03
|
@ -112,7 +112,7 @@ filter_mapping = {0: 'off', 1: 'medium', 2: 'high'}
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
# google results are grouped into <div class="jtfYYd ..." ../>
|
# google results are grouped into <div class="jtfYYd ..." ../>
|
||||||
results_xpath = '//div[@class="jtfYYd"]'
|
results_xpath = '//div[contains(@class, "jtfYYd")]'
|
||||||
|
|
||||||
# google *sections* are no usual *results*, we ignore them
|
# google *sections* are no usual *results*, we ignore them
|
||||||
g_section_with_header = './g-section-with-header'
|
g_section_with_header = './g-section-with-header'
|
||||||
|
|
Loading…
Reference in New Issue