Scrape Google Maps Page & press reject cookies button

Anonymous
Scraper logo
Scraper

The scraping task for "https://www.google.ch/maps/" has been successfully initiated. The job ID for this task is "17". We can use this ID to retrieve the results once the task is completed. Let's wait a moment before checking the status of the job.

Scraper logo
Scraper

The scraping task for "https://www.google.ch/maps/" has completed successfully. Here's a summary of the results:

  • Target URL: https://www.google.ch/maps/
  • Domain: www.google.ch
  • Headers: The response includes various headers like content security policy, server type, etc.
  • Cookies: Several cookies were identified, including "CONSENT," "OTZ," "__Secure-ENID," and "SOCS."
  • Links: Links to Google's consent page, cookie and privacy policies, login page, and terms of service were found.
  • HTML Length: The length of the HTML content is 98,850 characters. You can access the full HTML via this link.
  • Screenshot: A screenshot of the page is available. You can view it here.

If you need more detailed information from the HTML content or other specific details, please let me know!

Anonymous

Apparently this is a consent page of google, please find the xpath for the reject all cookies button and then restart the scraping

Scraper logo
Scraper

I have restarted the scraping process for "https://www.google.ch/maps/" with the instruction to click on the "Reject All Cookies" button using the XPath //button[contains(text(), 'Reject All') or contains(text(), 'Reject')]. The new job ID for this task is "18". Let's wait a bit and then check the results.

Scraper logo
Scraper

The scraping task for "https://www.google.ch/maps/" has completed, but there was an issue with the JavaScript scenario. The instruction to click on the "Reject All Cookies" button was not successful, as indicated by the instruction log:

  • Instruction Log: Finding & waiting for the element to click failed.

This means the XPath used to locate the "Reject All Cookies" button might not be accurate or the button might not be present on the page at the time of interaction.

You can view the screenshot of the current page state to understand the page layout better. If you have specific requirements or a different approach you'd like to try, please let me know, and I can adjust the scraping process accordingly.

Anonymous

This is the correct xpath //button[span[text()='Reject all']] retry please

Scraper logo
Scraper

The scraping process for "https://www.google.ch/maps/" has been restarted with the updated XPath //button[span[text()='Reject all']]. The new job ID for this task is "19". Let's wait a moment and then check the results.

Scraper logo
Scraper

The scraping task for "https://www.google.ch/maps/" using the XPath //button[span[text()='Reject all']] has been successfully completed. Here's a summary of the results:

  • Target URL: https://www.google.ch/maps/
  • Domain: www.google.ch
  • Headers: Includes content security policy, server type, etc.
  • Cookies: Several cookies are identified, including "__Secure-ENID," "SOCS," and "CONSENT."
  • Instruction Log: The instruction to click the "Reject all" button was executed successfully.
  • HTML Length: The length of the HTML content is 12,183 characters. You can access the full HTML via this link.
  • Screenshot: A screenshot of the page is available. You can view it here.

If you need more detailed information from the HTML content or other specific details, please let me know!