https://github.com/cbebe/eclass-event-scraper
Scrapes for Calendar Events in eClass using Puppeteer
https://github.com/cbebe/eclass-event-scraper
node puppeteer
Last synced: 3 months ago
JSON representation
Scrapes for Calendar Events in eClass using Puppeteer
- Host: GitHub
- URL: https://github.com/cbebe/eclass-event-scraper
- Owner: cbebe
- License: mit
- Created: 2021-12-13T02:31:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-30T10:01:12.000Z (over 4 years ago)
- Last Synced: 2025-03-18T02:40:08.908Z (over 1 year ago)
- Topics: node, puppeteer
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`:
```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