Re:What Happened to XPath?
by mook on Friday October 30, 2020 @11:20AM
(#24943166)
I realized a couple months back that Google sheets supports using xpath to scrape web pages. So now I have a "spreadsheet" scraping a page to see when a model of laptop goes on sale. Seems to work; at least, whenever I go double check that page manually it matches the scraped result.
[ Parent
| on HN ]
Re:What Happened to XPath?
by apiimporter on Friday October 30, 2020 @12:31PM
(#24943944)
The only problem with the built-in IMPORTXML() function is that it doesn't execute pages with JavaScript. If you ever run into issues give API Importer a try (where I run a headless browser to execute the JavaScript): https://gsuite.google.com/marketplace/app/api_importer/52965...