odmpy icon indicating copy to clipboard operation
odmpy copied to clipboard

Could not log in with code

Open icemessenger opened this issue 10 months ago • 8 comments

I have been getting the following error:

====

Error: Could not log in with code. Make sure that you have entered the right code and within the time limit.

====

However, I am able to login to the Overdrive Libby plugin on Calibre.

I have tried to uninstall and reinstall odmpy, reset (odmpy libby --reset), reinstall Python, restart Windows, logout and login again at libbyapp.com, use another account (another library card).

Please help.

icemessenger avatar Feb 20 '25 12:02 icemessenger

Does the Overdrive Libby plugin actually work? Where can we find it? We haven't been able to reverse-engineer the recent changes, so odmpy stopped working completely once we could no longer download ODMs. It would be helpful to see working code.

wtanksleyjr avatar Feb 20 '25 15:02 wtanksleyjr

Does the Overdrive Libby plugin actually work? Where can we find it? We haven't been able to reverse-engineer the recent changes, so odmpy stopped working completely once we could no longer download ODMs. It would be helpful to see working code.

Libby plugin for Calibre is still working, you can check out the plugin here:

https://github.com/sgmoore/libby-calibre-plugin

However, you can no longer download ebooks using the plugin.

icemessenger avatar Feb 21 '25 02:02 icemessenger

Oooh, they have both ways of syncing library cards/logins working. That's rather nice! A pity they also couldn't crack the changes in the authorization protocols.

Thank you for this, I'll ping around our discussion areas (we miss you @ping) and of course read through it as I have time.

wtanksleyjr avatar Feb 21 '25 03:02 wtanksleyjr

Ah, so there is still hope! Thanks for the update

newwooddog avatar Feb 22 '25 02:02 newwooddog

Careful, we're only talking about being able to log in and download a list of checkouts. We still have no known way to begin the book downloads.

wtanksleyjr avatar Feb 22 '25 03:02 wtanksleyjr

I’ll amend to “faintest glimmer of hope”. Mostly my post was to thank folks here for continuing thoughts on solutions.

newwooddog avatar Feb 22 '25 14:02 newwooddog

Have you considered randomizing the user agent?

samgreen avatar Feb 23 '25 06:02 samgreen

It's not that we're being blocked; the problem is that we no longer know the authentication algorithm.

wtanksleyjr avatar Feb 23 '25 21:02 wtanksleyjr