Adding a book produces the wrong URL

Report your bugs here - if someone else has already mentioned the same bug, just add on to their post with as much info as possible to make the hunting easier.
Post Reply
User avatar
vjl
Addicted to Bruji
Addicted to Bruji
Posts: 60
Joined: Sat Jun 09, 2007 6:05 pm
Contact:

Adding a book produces the wrong URL

Post by vjl »

I've had this issue for quite a while, and while it seemed to disappear for a few releases, it is currently back again and causing some headaches for me.

Using Amazon US only [i sell on there, so i don't use any other source when scanning books into Bookpedia, as I use the app as my inventory app], I scan a DK travel book with a barcode that has this ISBN13: 9781465412065, which, when translated to ISBN10, comes out to this ASIN: 1465412069.

Both are correct, however, somehow when I scan the item, the URL field is generated with the wrong ASIN. In this case, the URL field has: https://www.amazon.com/DK-Eyewitness-Tr ... 1465459839

This means that when I use option-cmd-A shortcut to open the Amazon record to check sales rank and current used prices, I end up opening the wrong book.

I am unsure what triggers this, as it doesn't happen with every book, but it does seem to happen quite frequently. I am using beta111 on 10.13.6

Thanks for any help you can provide!
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: Adding a book produces the wrong URL

Post by Conor »

Thanks for the exact details. In this case Amazon list the other version as the preferred URL. I assume cause it's the newer book and the one they want to sell. I have added a check to see that the ISBN matches and if not replace with the original search string, in the latest beta.
User avatar
vjl
Addicted to Bruji
Addicted to Bruji
Posts: 60
Joined: Sat Jun 09, 2007 6:05 pm
Contact:

Re: Adding a book produces the wrong URL

Post by vjl »

Conor - you *rock*!

I have not found a good reason for why the URL changes - often it is just the paperback version of the hardcover I enter [or hardcover version of the paperback i enter, or sometimes the MP3 audio book version of a paperback that i enter; the kindle issue that used to be a problem, you got rid of a while ago, and that seemed like something Amazon was really pushing to sell kindle versions of the books].

I'll give the new beta a spin, as I have another 100 items to add to inventory this afternoon. Thanks so much for the quick bug fix!
User avatar
vjl
Addicted to Bruji
Addicted to Bruji
Posts: 60
Joined: Sat Jun 09, 2007 6:05 pm
Contact:

Re: Adding a book produces the wrong URL

Post by vjl »

Hi Conor,

While this bug seems to have been squashed when I enter books via the barcode, I did come across an edge case just now. I have an old book with an ASIN only and had to type it in:

B00O3HE9SA

When entering it into Bookpedia, the URL field filled in with the 2018 copy:

https://www.amazon.com/Seeking-Finding- ... 0243163916

Using beta 112.

EDIT:

Another hand typed ASIN: B000VJNJYE
and that resulted in this URL:
https://www.amazon.com/007-CENTENARY-NA ... 081420158X
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: Adding a book produces the wrong URL

Post by Conor »

Thank you. I'll take a look.
User avatar
vjl
Addicted to Bruji
Addicted to Bruji
Posts: 60
Joined: Sat Jun 09, 2007 6:05 pm
Contact:

Re: Adding a book produces the wrong URL

Post by vjl »

One more I came across that I did scan with a barcode and not hand type. Even after removing the incorrect info and using the cog wheel to fetch info about ASIN 0465009131, the URL field still pointed to the Kindle version:

https://www.amazon.com/Fixing-My-Gaze-S ... 0465020739

Sorry to be the bearer of bad news. :( Beta 112
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: Adding a book produces the wrong URL

Post by Conor »

I have a different path for direct hits based on ASIN. I forgot to change that. Now in beta 122, it will create a URL based on the ASIN for a direct hit:

https://www.amazon.com/dp/B00O3HE9SA
User avatar
vjl
Addicted to Bruji
Addicted to Bruji
Posts: 60
Joined: Sat Jun 09, 2007 6:05 pm
Contact:

Re: Adding a book produces the wrong URL

Post by vjl »

Awesome! Thank you so much, Conor! I'm downloading the latest beta right now and I will probably be putting more inventory in later tonight and tomorrow to test it out. Thank you!
Post Reply