website-scraper-puppeteer | returns html for dynamic websites using puppeteer | Scraper library
kandi X-RAY | website-scraper-puppeteer Summary
kandi X-RAY | website-scraper-puppeteer Summary
Plugin for website-scraper which returns html for dynamic websites using puppeteer
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of website-scraper-puppeteer
website-scraper-puppeteer Key Features
website-scraper-puppeteer Examples and Code Snippets
Community Discussions
Trending Discussions on website-scraper-puppeteer
QUESTION
I have an assessment to make the existing website look better with new UX design and just copied the whole page with npm website-scraper-puppeteer however the cloned site looks quite different from the original one. Could anyone shed some lights on how to fix this issue? Please refer to screen shots.
...ANSWER
Answered 2021-Jan-21 at 09:18For me it looks like the css file is missing or not loaded. The npm site of website-scraper-puppeteer mentiones: It starts Chromium in headless mode which just opens page and waits until page is loaded. It is far from ideal because probably you need to wait until some resource is loaded or click some button or log in. Currently this module doesn't support such functionality.
So maybe the css is loaded later. You can have a look at the developer console of a browser you are opening the site with, it should tell you if some reference to a css file is missing. Then you can simply download the css file and add it.
QUESTION
I found a repo I would like to use that does not include much instruction and is written in all javascript. I've installed the basic requirements, but I don't know how to proceed.
This is the main repo https://github.com/website-scraper/website-scraper-puppeteer and it uses the plugin https://github.com/puppeteer/puppeteer to add extra functionality.
How do I run the code? It is unclear in the README.
ANSWER
Answered 2020-May-05 at 04:38Read the instructions for puppeteer. It explains it's a node module.
So you need to install node.js from the command line.
Then using node's npm to install puppeteer.
Then add the plugin.
And finally, run puppeteer
Please acquaint yourself with "what is a node.js application" first.
https://www.tutorialspoint.com/nodejs/nodejs_introduction.htm
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install website-scraper-puppeteer
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page