Merge pull request #1643 from vojkovic/master

Revert Google XPath.
This commit is contained in:
Léon Tiekötter 2022-08-10 04:18:42 +02:00 committed by GitHub
commit 07342899e5
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, "kvH3mc")]'
results_xpath = '//div[contains(@class, "jtfYYd")]'
# google *sections* are no usual *results*, we ignore them
g_section_with_header = './g-section-with-header'