-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate the cookie CONSENT for Google #1555
Comments
AFAIK: setting searxng/searx/engines/google_images.py Line 144 in 50ec821
prevents from redirects to (e.g.)
and citation from TeamNewPipe/NewPipeExtractor#592
This comment is about YouTube .. but (AFAIK) the cookies are the same in all google services. |
But Where as they legally can't if we send |
When directly opening a search, there may be cases in which a consent dialog is shown. The ucbcb=1 param is added to the URL when the consent is denied, so we may just as well add it permanently to avoid the consent dialog. > ucbcb could stand for: User Consent Blocked, Cookies Blocked Link: searxng/searxng#1555 Link: searxng/searxng#1679 Link: https://old.reddit.com/r/youtube/comments/mvcr5q/what_is_the_ucbcb1_tag_added_to_yt_urls/?rdt=50554
When directly opening a search, there may be cases in which a consent dialog is shown. The ucbcb=1 param is added to the URL when the consent is denied, so we may just as well add it permanently to avoid the consent dialog. > ucbcb could stand for: User Consent Blocked, Cookies Blocked Link: searxng/searxng#1555 Link: searxng/searxng#1679 Link: https://old.reddit.com/r/youtube/comments/mvcr5q/what_is_the_ucbcb1_tag_added_to_yt_urls/?rdt=50554
We need to investigate the correct parameters to send to Google so that the consent dialog is not being returned and doesn't cause an issue in parsing the results.
Currently, I don't know why, but for google images just adding the query parameter
'ucbcb': 1
in the URL only works on Firefox but not on SearXNG. But it works in both cases for the Google engine.Useful information:
The ultimate goal is to send a
PENDING
consent to Google so that we don't give Google the legal rights to collect information about us.The text was updated successfully, but these errors were encountered: