Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andorlando/spire-class-search
Searches for a class with selenium on Spire
https://github.com/andorlando/spire-class-search
Last synced: 2 days ago
JSON representation
Searches for a class with selenium on Spire
- Host: GitHub
- URL: https://github.com/andorlando/spire-class-search
- Owner: andOrlando
- Created: 2022-11-22T04:32:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-22T04:43:44.000Z (about 2 years ago)
- Last Synced: 2024-11-02T10:42:25.674Z (about 2 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spire-class-search
Searches for a class with selenium on SpireI didn't get CS 250 because my enrollment appointment was a little too late (the last spot closed an hour before!!!) so I made this so I get notified if a spot ever opens up. Pardon the garbage selenium, I've never used this library before, and honestly I hope I never have to use it again
This hasn't been tested for anything other than CS250 but hey it probably works, and until I gotta use it for another class it's not my problem (but actually if you wanna use this and it's not working for some class, feel free to open an issue)
This makes heavy use of the .env file. You also need a twilio account and number to get text alerts. You also need nix to deploy it (or whatever else you feel like using ig). Weirdness in nix-shell is because selenium is currently broken with nix
.env structure:
```bash
USERNAME={spire username}
PASSWORD={spire password}
MAJOR={major to search for}
NUMBER={class number}
SEMESTER={semester (ex. Spring 2023)}TWILIO_SID={twilio account SID}
TWILIO_AUTH={twilio auth token}
TWILIO_NUM={twilio number}
YOUR_NUM={the number you wanna be notified from, probably your number}
```