Starter code for puppeteer projects of any complexity.
npm module coming soon!
On your command line
-
Create a new directory with the name of your project
mkdir {project-name}
-
Clone the repo to your local machine
git clone {url} {project-name}
- Open project in code editor
cd {project-name} && code .
Note: To setup code .
shortcut for VSCode on your local machine, follow these instructions
-
Run
npm install
-
To confirm all is working, run
npm run start
. It should take you to my personal portfolio. -
Change the url in
pageScraper.js
to your desired link. Add your code in the same file and get scraping!
- Force end scripts by pressing
CTRL + C