re: A Tiny Project, From Inception to Deployment VIEW POST

FULL DISCUSSION
 

Great post describing the full process from idea to production. Also I didn't hear about Glitch before your post. It's so easy to develop and deploy Node apps on Glitch!

I'm just curious why did you choose to use puppeteer for scraping. I thought it's more suitable for end-to-end tests. I think it adds extra complexity by introducing a browser's launch/exiting, sandboxes, page evaluating.
Maybe it'll be better to use a fetch library (like request) to fetch the MDN page and parse it with cheerio in jQuery style?

 

Thanks Eugene 😊

I had only scraped with Python before but wanted this project to be all JavaScript. So I googled and went with one of the first results. Thanks for the recommendations!

code of conduct - report abuse