-
pip install pipenv
-
Clone this repo and
cd
to this project folder. -
Install packages:
- Run
pip install pipenv
- Run
pipenv install
(automatically install all required packages)
- Download the appropriate driver of your web browser, put it into this project folder. For Chrome, go to https://chromedriver.chromium.org/.
- Run
cp env_sample.py env.py
, then edit the content ofenv.py
. This file contains 3 things: the location of the browser driver (step 3), your Outlook username and password.
- Run
pipenv shell
-> activate virtual environment. - Run
python -m src.main [id]
, whereid
is the order of the target term in the dropdown list in the offering page of OneStop. - When the browser is at the 2FA page, you have 60s to verify it.