Scrapes for Calendar Events in eClass using Puppeteer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Charles Ancheta 76203d4b30
Create LICENSE
8 months ago
.env.example remove ASK_FOR_PASSWORD envvar 10 months ago
.gitignore finish POC 10 months ago
LICENSE Create LICENSE 8 months ago
README.md Add example output 9 months ago
getFromPrompt.js finish POC 10 months ago
index.js finish POC 10 months ago
package.json finish POC 10 months ago
setup.js finish POC 10 months ago
yarn.lock finish POC 10 months ago

README.md

eClass Events Scraper

Scrapes for Calendar Events in eClass using Puppeteer

Run yarn start to get all Calendar events on eClass. The scraped data is saved in events.json.

Example events.json:

[
  {
    "course": "2021-2022 Co-op eConnect - a Community of Co-ops  ",
    "title": "Submit WkExp 905 Report - Fall  2021 is due",
    "deadline": "Friday, 31 December, 11:59 PM",
    "description": "... Long assignment description ..."
  },
  {
    "title": "eClass Maintenance Outage",
    "deadline": "Monday, 3 January, 12:00 AM » 11:59 PM",
    "description": "There is a scheduled maintenance outage for eClass on January 3rd, 2022."
  }
]

Why

I've missed too many assignments and quizzes because I don't check eClass regularly.

Setup

Run yarn setup to prompt for CCID, and password.
Alternatively, you can copy the .env.example file into .env and fill out the variables yourself.

TODO

  • Exit on incorrect password