CygnusX1
CygnusX1 copied to clipboard
Chrome privacy settings popup prevents scrape
Google search doesn't work by default as the automation has to act on google's privacy popup.
Could be a regional issue.
My current hack is to launch the script NOT in headless mode and act on the google search privacy notice. Works but not ideal if multiple queries
I appreciate your interest in my repository. I'm sorry, but I'm still not clear on your issue. Could you please elaborate?
When the script launches the browser starts with a google privacy notice like the one attached. As a result the script doesn't run properly.
The hack I've mentioned is basically clicking manually on either Accept All or Reject All buttons so that the script can properly find the right selectors etc.
