Wrote a simple script to look up covid vaccine appointments at CVS pharmacies across the country. If found, details about the vaccines are tweeted out and stored in a google spreadsheet and the logs are also stored in a local text file.
I used my Puppeteer Boilerpalate repo to set up the project.
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