Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

broken since ilias update #29

Open
aleyeeey opened this issue Dec 3, 2021 · 3 comments
Open

broken since ilias update #29

aleyeeey opened this issue Dec 3, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@aleyeeey
Copy link

aleyeeey commented Dec 3, 2021

Any plans to update this for the new version of ilias? Since then I cannot run the script anymore.

Traceback (most recent call last):
  File "iliasscript.py", line 5, in <module>
    m.login('ilias_name', 'ilias_password')
  File "/home/aleyc0re/.local/lib/python3.8/site-packages/IliasDownloaderUniMA/IliasDL.py", line 121, in login
    raise ConnectionError("Couldn't log into ILIAS. Make sure your provided uni-id and the password are correct.")
requests.exceptions.ConnectionError: Couldn't log into ILIAS. Make sure your provided uni-id and the password are correct
@aleyeeey aleyeeey added the bug Something isn't working label Dec 3, 2021
@jhelgert
Copy link
Owner

jhelgert commented Dec 3, 2021

Unfortunately, I no longer have access to Ilias since I finished my studies, so I can't really work on an update.

However, as far as I can tell, only the Ilias dashboard has changed, not the login page itself, so the login should still work. If we are lucky, we will only have to adjust this check whether the login was successful:

if not self.login_soup.find("a", {'id' : 'mm_desktop'}):

Otherwise, we should check how the HTML structure has changed. Here I would assume that only a few CSS classes have been renamed.

Anyway, a PR is more than welcome!

@sephdoto
Copy link

sephdoto commented Feb 14, 2023

If you want I can help you fix this by giving you access to test :) This would be a REALLY helpful tool to automate and keep files up to date in order to study better!

I just started uni so I do not have enough coding expertise to fix this on my own :(

@jhelgert
Copy link
Owner

jhelgert commented Feb 24, 2023

@sephdoto Sorry for the delayed reply. Feel free to drop me an email at myfirstname.mylastname@posteo.de regarding the Ilias access. Then I could have a look at it this weekend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants