download chromedriver from https://googlechromelabs.github.io/chrome-for-testing/
python webreg.py --username cuism@hotmail.com --name "Simon Cui" --number 82213
The easiest way is to use following commands:
#python 3
python3 -m venv env
source venv/bin/activate
pip install seleniumsteps:
- find your target program number:
- login to webreg website
- find your desire program and go into the detail page.
- it's part of url on the program details page, eg url: https://anc.ca.apm.activecommunities.com/burnaby/activity/search/detail/58049
- number is 58049
- cd webreg
- python webreg.py --username --name <Person's Name to register>, eg: "Simon Cui" --number , eg: 58049 --refresh (optional) only if want to wait for the avaiable spot --dryrun (optional) only for debugging