A tool to check whether a course has seats remaining written in NodeJs
Instruction:
-
Download the whole folder
-
Download NodeJs in https://nodejs.org/en
-
Add NodeJs to PATH to run a Javascript file. Tutorial: https://www.youtube.com/watch?v=2-XVqRxn3fk
-
Open fild config.env Change the HOST_NAME to the UBC website courses you want to check
HOST_PATH to the path of the current course you want to check the email address used is my email address with app password to send email from this mail. you can change if u want but U can't access my account with that password cuz it is APP PASSWORD btw
-
Open Terminal. use cd command to locate to the downloaded folder.
ex: C:\Users\DELL cd documents
C:\Users\DELL\documents cd myFolder
C:\Users\DELL\documents\myFolder
Type: node main.js
This script is set to run automatically every 15 mins. You can change if u want in setInterval() function in main.js
I'm dumb with Docker so this is a bit messy. Forgive blah blahh,..
Have fun :D