View Single Post
Old Yesterday, 12:20 PM   #587
Pr.BarnArt
Evangelist
Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.
 
Pr.BarnArt's Avatar
 
Posts: 414
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
Quote:
Originally Posted by Dompie View Post
@Pr.BarnArt I've done some more testing and it mostly works very well, with significantly more labels and indeed larger cover sizes. However, a number of books do exist at BOL (I even copied the BOL information into Calibre), but they all get the same error:
File "calibre_plugins.BOL_NL.worker", line 212, in parse_details
KeyError: 'author'

The interesting thing is that the book was actually retrieved, because sometimes the log contains information that isn't in my Calibre (series name and number).
Here are the logs for several books, all with the same error:


PS: There are apparently two different versions of single quotes. Can you correct that in your book search (is the same with the old version-so new request)?
Thanks for your testing. It is very usefull.
I presumed that, if the json dictionary was found, all info was in there.
I was wrong, p.e. the author is not always given, resulting in the key errors.
Not only authors, but also publisher, relase dates, isbn. Sometimes with a different key
So I added some other keys and after that, the plug-in will try the old ways of scraping for the missing item, if not found in the json-info
That's is little more complex.

I also implemented a way for the different single quotes ( yes there are different ones), but don't know if that works. I have no good example for testing.

So a new version 6.1.0 is now available.
Please lety me know if you encounter issues

Last edited by Pr.BarnArt; Yesterday at 03:32 PM.
Pr.BarnArt is offline   Reply With Quote