Skip to content

Commit

Permalink
[fix] google: display every result when keyword is contained in conte…
Browse files Browse the repository at this point in the history
…nt field
  • Loading branch information
uply23333 authored and return42 committed Oct 31, 2024
1 parent fa4dfd4 commit fa108c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searx/engines/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
results_xpath = './/div[contains(@jscontroller, "SC7lYd")]'
title_xpath = './/a/h3[1]'
href_xpath = './/a[h3]/@href'
content_xpath = './/div[@data-sncf="1"]'
content_xpath = './/div[contains(@data-sncf, "1")]'

# Suggestions are links placed in a *card-section*, we extract only the text
# from the links not the links itself.
Expand Down

0 comments on commit fa108c1

Please sign in to comment.