MiniGlome / Archive.org-Downloader

Python3 script to download archive.org books in PDF format
896 stars 118 forks source link

"Invalid credentials" error #66

Closed cavefishin closed 2 years ago

cavefishin commented 2 years ago

Preface: I attempted to run this script on this setup:

When trying to run the script to grab a currently borrowed book, I kept getting the same error referenced in (https://github.com/MiniGlome/Archive.org-Downloader/issues/36). Below are two examples of the variations that I typed in an attempt to fix the error:

I still get an 'Invalid credentails!' error for both, so I am unsure what I'm doing wrong here.

maximka1812 commented 2 years ago

Issue can be with C:\Users\Name\Desktop\folder

Can you show script output?

cavefishin commented 2 years ago

Sure. Example has a new URL, "archivebooks" folder on desktop, and CMD being run as administrator: output

maximka1812 commented 2 years ago

Remove ' from password and email, write them bare

cavefishin commented 2 years ago

Thank you for the assistance! I was able to successfully download the PDF in question after applying the above, and making sure the book was borrowed and opened in another tab while logged in before executing the command as follows. image

maximka1812 commented 2 years ago

You can try my modified tool at https://github.com/maximka1812/AD---Archive-Download-Tool