Merge pull request #1633 from tiekoetter/fix-google-results-xpath

[fix] google engine: results XPath
This commit is contained in:
Markus Heiser 2022-08-09 06:28:03 +02:00 committed by GitHub
commit 3d6b098a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ filter_mapping = {0: 'off', 1: 'medium', 2: 'high'}
# ------------------------
# google results are grouped into <div class="jtfYYd ..." ../>
results_xpath = '//div[contains(@class, "jtfYYd")]'
results_xpath = '//div[contains(@class, "kvH3mc")]'
# google *sections* are no usual *results*, we ignore them
g_section_with_header = './g-section-with-header'