Loading searx/engines/google.py +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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" Loading Loading
searx/engines/google.py +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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" Loading