Skip to content

bratkartoff/dualisbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dualisbot

A script to scrape test results from DHBW Dualis.

Installation

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

Basic usage

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

About

A script to scrape test results from DHBW Dualis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages