Skip to content
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

Chrome privacy settings popup prevents scrape #4

Open
tasinttttttt opened this issue Jul 26, 2022 · 2 comments
Open

Chrome privacy settings popup prevents scrape #4

tasinttttttt opened this issue Jul 26, 2022 · 2 comments

Comments

@tasinttttttt
Copy link
Contributor

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

@tasinttttttt tasinttttttt changed the title Chrome privacy settings popup Chrome privacy settings popup prevents scrape Jul 26, 2022
@datnnt1997
Copy link
Owner

I appreciate your interest in my repository. I'm sorry, but I'm still not clear on your issue. Could you please elaborate?

@tasinttttttt
Copy link
Contributor Author

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.

Screen Shot 2022-08-12 at 23 16 25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants