Closed Grilioni closed 1 month ago
You should do it like this:
from edupage_api import Edupage
from edupage_api.exceptions import BadCredentialsException, LoginDataParsingException
I just can't find LoginDataParsingException
anywhere in the code... So correctly we shouldn't even import that:
from edupage_api import Edupage
from edupage_api.exceptions import BadCredentialsException
As I'm searching through the commit history, LoginDataParsingException
has been removed in https://github.com/EdupageAPI/edupage-api/pull/31. I'll update the README.md
to aviod further confusion :)
Ohhh, okaay. Thank you
kind regards, Grigorii Bilibin
On Tue, 1 Oct 2024 at 01:47, BelKed @.***> wrote:
You should do it like this:
from edupage_api import Edupagefrom edupage_api.exceptions import BadCredentialsException, LoginDataParsingException
I just can't find LoginDataParsingException anywhere in the code... So correctly we shouldn't even import that:
from edupage_api import Edupagefrom edupage_api.exceptions import BadCredentialsException
— Reply to this email directly, view it on GitHub https://github.com/EdupageAPI/edupage-api/issues/80#issuecomment-2384308675, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLXPUJQFY6CNUNYV7VIDYWDZZHIJRAVCNFSM6AAAAABPEHAHKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUGMYDQNRXGU . You are receiving this because you authored the thread.Message ID: @.***>
Thanks man;) I’ll keep contact w/ u
kind regards, Grigorii Bilibin
On Tue, 1 Oct 2024 at 01:56, BelKed @.***> wrote:
As I'm searching through the commit history, LoginDataParsingException has been removed in #31 https://github.com/EdupageAPI/edupage-api/pull/31. I'll update the README.md to aviod further confusion :)
— Reply to this email directly, view it on GitHub https://github.com/EdupageAPI/edupage-api/issues/80#issuecomment-2384317084, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLXPUJXCFF7CUD735YSCOLLZZHJLJAVCNFSM6AAAAABPEHAHKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUGMYTOMBYGQ . You are receiving this because you authored the thread.Message ID: @.***>
Feel free to close the issue if is your problem solved :)
Yes, sry. Forgot bout that
kind regards, Grigorii Bilibin
On Tue, 1 Oct 2024 at 13:44, BelKed @.***> wrote:
Feel free to close the issue if is your problem solved :)
— Reply to this email directly, view it on GitHub https://github.com/EdupageAPI/edupage-api/issues/80#issuecomment-2385443582, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLXPUJUTN5HNK7GOEHQM4VDZZJ4HBAVCNFSM6AAAAABPEHAHKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBVGQ2DGNJYGI . You are receiving this because you authored the thread.Message ID: @.***>
Hey bro! I get this: from edupage_api import Edupage, BadCredentialsException, LoginDataParsingException ImportError: cannot import name 'BadCredentialsException' from 'edupage_api' when trying to login. what to do?