-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
24 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# When2STEM: Course information scrapper at Fulbright University Vietnam. | ||
# Course information scrapper at Fulbright University Vietnam | ||
## Installation | ||
0. `pip install pipenv` | ||
|
||
1. Clone this repo | ||
1. Clone this repo and `cd` to this project folder. | ||
2. Install packages: | ||
* In your terminal, `cd` to this project folder | ||
* Run `pip install pipenv` (install `pipenv` for package management) | ||
* Run `pip install pipenv` | ||
* Run `pipenv install` (automatically install all required packages) | ||
3. Download the appropriate driver of your web browser, put it into this project folder. For Chrome, go to https://chromedriver.chromium.org/. | ||
4. Run `cp env_sample.py env.py`, then edit the content of `env.py`. This file contains 3 things: the location of the browser driver (step 3), your Outlook username and password. | ||
|
||
## Execution | ||
1. Run `pipenv shell` -> activate virtual environment. | ||
2. Run `python -m src.main` | ||
3. Enjoy the automation! | ||
2. Run `python -m src.main [id]`, where `id` is the order of the target term in the dropdown list in the offering page of OneStop. | ||
3. When the browser is at the 2FA page, you have 60s to verify it. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters