[fix] google engine: results XPath

This commit is contained in:
Léon Tiekötter 2022-07-26 00:24:15 +02:00
parent 747cf1a246
commit 950f036c03
No known key found for this signature in database
GPG Key ID: 02869F7817D9EC08

View File

@ -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'