Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2026, 12:09 AM   #1
gurcha
Enthusiast
gurcha began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Aug 2023
Device: Kindle
Amazon Plugin - Wrong ID

Recently i am finding that the amazon plugin downloads the incorrect ID from the amazon page. I am not sure if Amazon has changed it's page and the plugin needs an update to read the page correctly or if there is a bug with the app

Example:

using isbn:9780345532671 in the ID field and the clicking download metadata

should return amazon:B00513DGZ2

but actually returns amazon:0345532678 - which when you click it is a dead link

any ideas on how to fix this would be great as currently i have to download metadata and then manually search every book for the correct amazon id, which is time consuming and annoying
gurcha is offline   Reply With Quote
Old 05-05-2026, 02:20 AM   #2
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 2,177
Karma: 7966751
Join Date: Sep 2020
Device: none
It will return B00513DGZ2 if you check Prefer Kindle edition in preferences.

BTW, when I left it unchecked, I got this one instead: 0593974816
Comfy.n is offline   Reply With Quote
Old 05-05-2026, 11:31 AM   #3
gurcha
Enthusiast
gurcha began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Aug 2023
Device: Kindle
thanks for the reply, but i already have Prefer Kindle checked and i have tried using both use mobi-asin for search checked and unchecked

i have also tried just using the name of the book with no id's

Even if i manually add the correct isbn and amazon/ asin to the id field and then hit download metadata. It actually overwrites the correct amazon id with the incorrect version
gurcha is offline   Reply With Quote
Old 05-05-2026, 11:53 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,234
Karma: 29630732
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look at the log that will tell you wht is happening.
kovidgoyal is offline   Reply With Quote
Old 05-05-2026, 04:29 PM   #5
gurcha
Enthusiast
gurcha began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Aug 2023
Device: Kindle
Error Identified - Suggested Fixes

ok, looking at the log the issue is clear, but i have no idea how to overcome it.

1. Amazon plugin is completely broken
The Amazon.com plugin found 0 results. It's trying to search Google and Bing for Amazon pages and both are returning nothing. I believe this is actually a known issue — Amazon and Google blocking Calibre's scraping attempts. The plugin effectively isn't working at all right now.

2. Goodreads is the culprit for the wrong ASIN
Look at this line in the Goodreads log:
parse_asin: 0307796361
Goodreads is returning 0307796361 (the ISBN-10) as the ASIN — and since the Amazon plugin found nothing, Goodreads wins by default and its incorrect ASIN gets written to the record, overwriting the correct B00513DH6U.

Goodreads is incorrectly treating the print ISBN-10 as an ASIN on their book page, and Calibre's Goodreads plugin is faithfully copying it

Suggested Fixes:

1. I am not sure google/bind blocks can be overcome without using Amazon's Product Advertising API - so probably a no-go

2. Actionable - fix the Goodreads plugin's ASIN parsing:

The root bug is that parse_asin in the Goodreads plugin is accepting a 10-digit ISBN-10 as a valid ASIN. A real Kindle ASIN always starts with B0 and is exactly 10 characters. The plugin should validate the parsed value against that pattern before accepting it — if it doesn't match B0[A-Z0-9]{8} it should be discarded, not written to the amazon identifier field.
- clean fix - add one-line regex check

3. Alternate fix - checkbox to not update amazon identifier from Goodreads:
Add checkbox to the config page of the goodreads plugin to skip writing to the amazon identifier field. This gives users control without changing default behaviour.

I have attached the log for you to verify
Attached Files
File Type: txt metadata download log.txt (19.3 KB, 16 views)

Last edited by gurcha; 05-05-2026 at 04:38 PM.
gurcha is offline   Reply With Quote
Old 05-05-2026, 04:37 PM   #6
gurcha
Enthusiast
gurcha began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Aug 2023
Device: Kindle
i am not completely sure of the forum rules. but should i repost this log and feedback to the plugin pages for the amazon and goodreads plugins?
i am not sure if kiwidude is still active or how to message him privately.
gurcha is offline   Reply With Quote
Old 05-05-2026, 10:47 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,659
Karma: 33011292
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by gurcha View Post
i am not completely sure of the forum rules. but should i repost this log and feedback to the plugin pages for the amazon and goodreads plugins?
Yes
Quote:
Originally Posted by gurcha View Post
i am not sure if kiwidude is still active or how to message him privately.
Click on a member name to look at their profile.

BR
BetterRed is offline   Reply With Quote
Old 05-06-2026, 02:04 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,234
Karma: 29630732
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to report that in the goodreads plugin thread.
kovidgoyal is offline   Reply With Quote
Old 05-06-2026, 06:07 PM   #9
gurcha
Enthusiast
gurcha began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Aug 2023
Device: Kindle
ok, i found a fix and will post here in case anyone has this issue

Go to Preference>Metadata Download

Select Amazon.com plugin from the list and go to Configure selected source at the bottom of the page

change the setting for "Server to get data from:"

instead of "choose server automatically" select "DuckDuckgo search and Google cache"

it seems DuckDuck is not blocking scrape attempts and correctly pulls the correct amazon ID

I will still post the goodreads feedback to the correct feed

Hope this helps
gurcha is offline   Reply With Quote
Reply

Tags
amazon, plugin bug


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Something wrong with device plugin? Author names not displayed correctly LucyOne Calibre 3 02-21-2017 11:24 AM
Amazon Deletes Wrong Reviews, Forbids Authors to Review One Another's Work Prestidigitweeze News 88 02-22-2013 01:11 PM
SNL: Amazon Fire “expected to sell well among parents who always buy the wrong thing” kjk News 12 10-04-2011 04:15 PM


All times are GMT -4. The time now is 05:36 AM.


MobileRead.com is a privately owned, operated and funded community.