79376714

Date: 2025-01-22 06:34:15
Score: 1.5
Natty:
Report link

Fetching dynamic website using Google Sheets or Apps Script

After spending time trying to scrape the site using apps script and google sheets and also following discussions like this and Stackoverflow posts like this it is safe to say that Google Sheets’ IMPORTXML and even Google App Script’s UrlFetchApp does not have the capability to render dynamically rendered websites.

To accomplish the goal, you would need to use other tools like Selenium WebDriver that has the capability to wait for the site to load up completely and then scrape it.

You may also try submitting the idea of fetching dynamic websites using apps script as a feature request here

References:

Google Sheets scraping

How to extract dynamic website data with Google Script?

Utilizing Selenium WebDriver for Dynamic Web Scraping in C#

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: 4thAnd1