This commit is contained in:
2024-02-12 13:04:41 +01:00
parent 0255c22b01
commit 22ea95cf13
5 changed files with 26 additions and 1 deletions

8
src/Year.py Normal file
View File

@ -0,0 +1,8 @@
from bs4 import BeautifulSoup
import selenium
# Class to represent an academic year
#
class Year:
def __init__

View File

@ -1,4 +1,4 @@
username = "<s-number>"
username = "s5230837"
password = "<password>"
if __name__ == "__main__":

10
src/login.py Normal file
View File

@ -0,0 +1,10 @@
# Module to handle login
# URL to login: https://themis.housing.rug.nl/log/in
# POST request which contains the following data:
# - username
# - password
# - null
from requests import post
from bs4 import BeautifulSoup