Hello everybody,
I'm running fetch-ebook-metadata from Shell:
Code:
fetch-ebook-metadata --isbn="${ISBN}" --opf 2>/dev/null
Occasionally, the script fails with this error:
Quote:
-:26.1: Extra content at the end of the document
Failed to get cached URL from google for URL: https://www.amazon.com/Norton-Read
|
I don't know which metadata plugin throws this error.
The forum says:
Quote:
You can obtain the plugin error details by starting Calibre in debug mode
|
But I'm not starting the whole Calibre app, just fetch-ebook-metadata.
What's the best approach to troubleshoot this?
Ideally, I would configure the Shell script to restrict the run to one plugin each time using --allowed-plugin, see what result I get, and only use a different source if the request fails, but it's not something I can code right now.
So, I wonder how to know this