Open Teuns opened 2 days ago
I can confirm that this PR does fix the login issue for me, nice work :)
@subdavis apologies for barging in here, I just know from the related issues that you're not affected / able to reproduce this
Please merge this soon. I reseted my account and now I can't add a user or download. Thanks for your work.
This doesn't seem to fix it for me, but I'm seeing it on the download request.
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://storedownloads.kobo.com/download?downloadToken=XXXXXXXX
Thanks everyone for your involvement in this fix. I'll get this merged and released later this evening.
Probably related: #127
For some reason the authentication process returns 403 errors all of a sudden. I think this is due to CloudFlare blocking the requests automatically. This branch solves it by using
urllib
instead ofrequests
in the specific faulty requests, as pointed out in a StackOverflow post](https://stackoverflow.com/a/74674276).