View Single Post
Old 06-12-2019, 02:24 PM   #7
lui1
Enthusiast
lui1 began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Dec 2017
Location: Los Angeles, CA
Device: Smart Phone
Quote:
Originally Posted by kovidgoyal View Post
div['class'] is a list, not a string, in BS4 which newer versions of calibre use
Oh I see, thanks Kovid. I was using the one that comes from debian, so I'll have to upgrade to the one you publish on your website. What would you suggest if I wanted the recipes to run on most versions of calibre, given the fact that perhaps many people haven't upgraded to the latest version of calibre. I suppose I could write more code to account for the differences between bs3 and bs4, or use lxml which I assume is compatible accross all versions of calibre.

Also I see that you have fixed the problem in the git repository, so thanks for that too.
lui1 is offline   Reply With Quote