Scrapping the content of single-page application (SPA) with headless Chrome and puppeteer

Image for post
Image for post
Photo by Pankaj Patel on Unsplash

TL;DR

Image for post
Image for post
Screenshot of the beach volleyball standing on https://bvopen.abrickis.me/#/standings

Start with axios + cheerio

Image for post
Image for post

Switch to puppeteer and headless Chrome

Image for post
Image for post
A part of the output

Conclusion

Writing JS, TS, Vue, #C, and fostering teams to release customer value n-times a day. Creator of billid.app and writer on abrickis.me

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store