This Puppeteer Bot will book a gym slot from the uOttawa Sports Services website at a given time
-
Install node.js from https://nodejs.org/en/ if you don't already have it.
-
Navigate to your project directory in Terminal and run
npm install
. -
Change the variables
yourAccountNumber
,yourBarcode
, andserialNumberOfActivity
in myInfo.js with your own information. -
Replace
* * * * *
in server.js withSECOND(optional) MINUTE HOUR DAY MONTH DAYOFWEEK
. You can leave the parameters you're not using as a*
. -
Run
node server.js
in Terminal. You will have to keep this server running over the time you set so leave your computer running. Make sure to disable any settings that turn your computer off automatically. -
Sit back and enjoy 😊
If you get any other error please mark it as an issue on this repository.