Show HN: Headless Chrome Crawler
github.com
Show HN: Headless Chrome Crawler
1–10 of 39 posts
Re: Show HN: Headless Chrome Crawler
#2Re: Show HN: Headless Chrome Crawler
#3Re: Show HN: Headless Chrome Crawler
#4Can't see from examples, how do I get back individual elements from the body?
Basically, when new page event happens, you get the `page` object where you have access to it and can do queries.
Re: Show HN: Headless Chrome Crawler
#5Re: Show HN: Headless Chrome Crawler
#6also how does this handle pages that load with a small number of links and then uses JS to write in a bunch of DOM nodes and links?
Re: Show HN: Headless Chrome Crawler
#7Pretty cool, but I recommend anyone wanting to do this kind of thing to check out the source Puppeteer library. You can do some really powerful stuff and make a custom crawler fairly easily. https://github.com/GoogleChrome/puppeteer
Re: Show HN: Headless Chrome Crawler
#8Pretty cool, but I recommend anyone wanting to do this kind of thing to check out the source Puppeteer library. You can do some really powerful stuff and make a custom crawler fairly easily. https://github.com/GoogleChrome/puppeteer
Re: Show HN: Headless Chrome Crawler
#9Can't see from examples, how do I get back individual elements from the body?
Not a user of this tool, but https://github.com/yujiosaka/headless-chrome-crawler#event-n... points to https://github.com/GoogleChrome/puppeteer/blob/master/docs/a... where you can grab elements. Basically, when new page event happens, you get the `page` object where you have access to it and can do queries.
https://github.com/GoogleChrome/puppeteer/blob/v1.1.0/docs/a...