[fix] google engine: results XPath

This commit is contained in:
Léon Tiekötter 2022-07-26 00:24:15 +02:00 committed by Noémi Ványi
parent 85034b49ef
commit 86bd82d691
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,8 @@ filter_mapping = {
# specific xpath variables
# ------------------------
# google results are grouped into <div class="g ..." ../>
results_xpath = '//div[@id="search"]//div[contains(@class, "g ")]'
# google results are grouped into <div class="jtfYYd ..." ../>
results_xpath = '//div[contains(@class, "jtfYYd")]'
results_xpath_mobile_ui = '//div[contains(@class, "g ")]'
# google *sections* are no usual *results*, we ignore them