Skip to content

A tool for scraping UNH WebCat course data with a headless browser

Notifications You must be signed in to change notification settings

scratchyone/webcat-scrape-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNH WebCat Scrape Tool

This tool uses Playwright to scrape the "Look up courses to add" page on UNH WebCat. It's meant to gather data about class capacity. It expects the following environment variables:

EMAIL=the unh email to login with
PASSWORD=the password of the unh account to log in with
TOTP=the TOTP secret used to generate 6-digit codes for 2FA
PASSWD=the password used to authenticate with the Cloudflare worker that processes the scraped data

It works alongside a Cloudflare worker to process the scraped HTML and provide an API for looking up course information.

About

A tool for scraping UNH WebCat course data with a headless browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages