I was having an
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: error.
I noticed after reading some of the documentation on Goodreads that we can use either 10-digit ISBNs or 13-digit ISBNs (I use "digit" while realizing that sometimes an ISBN has letters). Many of the ISBNs given in the books.csv file are only 9 digits. I think they're supposed to have a "0" before them, as I saw on my Goodreads app while comparing ISBNs. At first I thought I had messed with the file somehow, but I redownloaded the books.csv file to compare, and there was no difference.
Is this an issue for anyone else? When I try to add a 0 before the number (ex: Orson Scott Card's book The Memory of Earth has an ISBN of 812532597 according to books.csv, and an ISBN of 0812532597 according to the Goodreads app), I get an error saying the list index is out of range.
Is this something I can work around - other than only searching for books with the correct ISBN length - and short of going into the database and adding a zero before each 9-digit ISBN, would it make sense to stick on a "0" in my application.py somehow?