Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0aabd9a authored by Arnau Vàzquez's avatar Arnau Vàzquez
Browse files

Merge branch 'dev/fix-google' into 'master'

fix google selectors

See merge request !178
parents 02a4e280 7b0e585d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -118,10 +118,10 @@ filter_mapping = {0: "off", 1: "medium", 2: "high"}
# specific xpath variables
# specific xpath variables
# ------------------------
# ------------------------


results_xpath = ".//div[@data-sokoban-container]"
results_xpath = ".//div[contains(@jscontroller, 'SC7lYd')]"
title_xpath = ".//a/h3[1]"
title_xpath = ".//a/h3[1]"
href_xpath = ".//a[h3]/@href"
href_xpath = ".//a[h3]/@href"
content_xpath = ".//div[@data-content-feature=1]"
content_xpath = ".//div[@data-sncf]"


# 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"