A script to scrape test results from DHBW Dualis.
Requirements: Python >= 3.8.0
- Clone this repository
$ git clone 'https://github.com/bratkartoff/dualisbot'
$ cd dualisbot
- Install dependencies
$ python3 -m pip install -r requirements.txt --user
Inside the dualisbot directory, execute
$ python3 main.py
Sample output (shortened):
$ python3 main.py
Mathematik II (WiSe 2019/20)
Versuch Prüfung Bewertung
WiSe 2019/20 Klausur (50%) noch nicht gesetzt
Gesamt: noch nicht gesetzt
Datenbanken (WiSe 2019/20)
Versuch Prüfung Bewertung
WiSe 2019/20 Klausurarbeit oder noch nicht gesetzt
Kombinierte Prüfung
(100%)
Gesamt: noch nicht gesetzt
Kommunikations- und Netztechnik (WiSe 2019/20)
Versuch Prüfung Bewertung
WiSe 2019/20 Klausur (100%)
Netztechnik I (60%) 90,0
Gesamt: noch nicht gesetzt
...
You can restrict the search to one semester (this is faster than querying all pages):
$ python3 main.py --semester 3
Additionally, you can output only test results that have changed since the last invocation of the script
$ python3 main.py --new