It's a Crawler / Spider for crawling clinic data on Yellow Page.
You should be install the Puppeteer first, other packages (e.g. fs, datetime) should be installed by default.
Run the following command to install all dependencies
yarn install
Required Package |
---|
fs |
puppeteer |
Tools | Version |
---|---|
Node | 14.15.4 |
You can run the crawler by following command:
node yp_crawler.js
The crawler will generate the result csv files with filename format clinic_YYYYMMDD_HHmmss.csv
when each crawl.