apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.52k stars 1.51k forks source link

Barnes & Noble Retrieve Key No Longer Works #385

Closed LeeThompson closed 6 years ago

LeeThompson commented 7 years ago

I suspect B&N has changed the API that the script uses.

The error "Could not retrieve key. Check username, password and internet connection and try again." pops up.

ElleKayEm commented 7 years ago

Still working for me.

apprenticeharper commented 7 years ago

Have you ever logged in with Nook for PC? You might need to log in at least once with Nook for PC for the key retrieval to work.

LeeThompson commented 7 years ago

Yes, but even it (Nook for PC) won't let me download encrypted books, I get a download error complaining about no payment information on Barnes & Noble's site (even though there is one). I had assumed it was because the app isn't supported anymore.

ElleKayEm commented 7 years ago

Try making sure your credit card is up-to-date and marked as default. Even though Nook for PC isn't officially supported, it still works.

LeeThompson commented 7 years ago

It is, I even removed the card and re-added it. No change.

I even added an additional card and made it the default, still get error 2080 in the app if I try to download anything DRMed.

Update: I deleted an re-added payment a couple more times and relaunched the app as well and now it's working? Not sure what changed.

ElleKayEm commented 7 years ago

Ah, good! I was going to suggest trying to "buy" a freebie to see if that might do it. But if all's good, you can close the issue.

yulivuviki commented 7 years ago

try downloading the title(s) on all apps .. i think sometimes some ebooks only download on new editions of BN apps .

ElleKayEm commented 7 years ago

As far as I know, if you can't download it with Nook for PC, then you can't remove the DRM.

SpareSimian commented 6 years ago

It would be useful to dump the returned web page from the server into a file where it can be examined postmortem. I'm not a Python coder but I'll see if I can figure out how to do that based on the snippets in all the scripts. (I figure it should get dumped into a file under APPDATA, just before the hash is extracted into the found variable.)

SpareSimian commented 6 years ago

Based on LeeThompson's comment, I found I had an expired CC in addition to my default one. I removed the expired one from my account and restarted Nook for PC and was able to retrieve the book. I was also able to run the Retrieve Key funtion in the Calibre plugin, but the resulting download was not unlocked. So the web part can be confused by having a dead CC in one's account.