This project contains a JavaScript-based web scraping automation tool for Chrome browser. This project requires the Puppeteer dependency install.
Running the script executes a series of headless HTML calls to the Open Tree Map Project Website.
- Obtains edible tree data for Philadelphia County from The Open Tree Map website
- captures a screenshot of each site query (includes number of results found by query)
- Creates a folder for tree data within a chosen project folder
- Populates the folder with downloaded CSV files
The runtime for this script is approximately 3 minutes.
- Clone this repository
- Ensure you have Yarn (or the package manager of your choice) installed on your machine
- Run yarn install
- Run yarn start
- Use yarn add puppeteer from the command line
- Run the script on the command line using the command node treeMapScraper.js
"Allegheny Serviceberry" "Apple Serviceberry" "Canadian Serviceberry" "Downy Serviceberry" "Serviceberry [Amelanchier spp]" "Mulberry" "Red Mulberry" "White Mulberry" "Ginkgo"