UMass Class Crawler crawls class data of University of Amherst Massachusetts by Puppeteer.
-
Node.js and NPM must be installed.
-
Download the zip file and extract it.
-
Open terminal and move to the directory where the zip file is extracted.
-
Install packages by typing the following on the command prompt.
npm install
-
Open terminal and move to the directory where the zip file is extracted.
-
Start the program by typing the following on the command prompt.
npm start
It will execute Chromium without headless option.
npm run start:dev
The data of UMass classes will be saved in data directory. In data directory, a directory will be created
whose name is Date.now()
value when the directory is created. Inside the directory, JSON files of each major and
each career will be created.