Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions data/lib/oge/api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#----------------------------------------------------------------------
#----------------------------------------------------------------------

# Libraries
from bs4.element import Tag, ResultSet
Expand Down Expand Up @@ -28,7 +28,7 @@ class OGE(QObject):
info_changed = Signal(InfoType, str)
failed = Signal(Exception)

_URL_WEBSITE = 'http://casiut21.u-bourgogne.fr/login?service=https%3A%2F%2Fiutdijon.u-bourgogne.fr%2Foge%2F'
_URL_WEBSITE = 'https://casiut21.u-bourgogne.fr/login?service=https%3A%2F%2Fiutdijon.u-bourgogne.fr%2Foge%2F'
_URL_GRADES = 'https://iutdijon.u-bourgogne.fr/oge/stylesheets/etu/bilanEtu.xhtml'
_URL_DETAILS = 'https://iutdijon.u-bourgogne.fr/oge/stylesheets/etu/detailsEtu.xhtml'

Expand Down Expand Up @@ -173,7 +173,8 @@ def _get_grades_html(self, semester: int, session: Session) -> tuple[BS, int]:
'password': self._password,
'execution': self._get_key(session),
'_eventId': 'submit',
'geolocation' : ''
'geolocation' : '',
'deviceFingerprint': ''
}

self.info_changed.emit(InfoType.Info, 'Creating a new session...')
Expand Down