Live data from Hacker News

Show HN: Getting started with Puppeteer and Chrome Headless for Web Scraping

github.com

11–20 of 39 posts

Re: Show HN: Getting started with Puppeteer and Chrome Headless for Web Scraping

#12
post #10

Puppeteer is definitely cool but on a recent project I had to revert back to using NightmareJS as I needed to download files.

This is currently being worked on in Headless Chrome. There's been tons of development on the project and they're super open to feature requests.

Re: Show HN: Getting started with Puppeteer and Chrome Headless for Web Scraping

#14
Two things:

1. Please do not test a web app with Chrome only, we don't want to go back to a world with a single browser

2. > So, until puppeteer supports this, we will rely on jsdom, a package available via npm

JSDOM is not just a package on npm, it's an engineering piece of art

Re: Show HN: Getting started with Puppeteer and Chrome Headless for Web Scraping

#17
Great tutorial! Also, you look like a Full stack. How's the reception for Hospital Run software you worked on? (https://github.com/HospitalRun/hospitalrun-frontend)

""Somewhat similar is the case with Internet that we traversed today in quest of data.""

Re: Show HN: Getting started with Puppeteer and Chrome Headless for Web Scraping

#19

Is it possible to launch multiple times const browser = await puppeteer.launch(); in a same nodejs process? I haven't find any information about that

It is possible. Beware though that each `puppeteer.launch()` will spawn a chromium process.

Re: Show HN: Getting started with Puppeteer and Chrome Headless for Web Scraping

#20
post #17

Great tutorial! Also, you look like a Full stack. How's the reception for Hospital Run software you worked on? ( https://github.com/HospitalRun/hospitalrun-frontend ) ""Somewhat similar is the case with Internet that we traversed today in quest of data.""

HospitalRun team is great and very welcoming. You can join there Slack channel here: https://hospitalrun.slack.com/ . The project is expected to be undertaken by JS Foundation in near future. And Yeah, I am a Full stack developer.
Post reply on HN