Cover image missing from the books
Closed this issue · 0 comments
jenni commented
obooks depends on the epub-gen to convert the downloaded html into an .epub
.
Epub
takes an options objects with a cover:
property that could be a url or a path to a file.
The meta
page fetched in the OBook class contains all the needed info and links about the book. The cover lives in the titlepage.xhtml
. Joining asset_base_url
with cover.jpg
found in the images array gives the full path to the actual cover with an acceptable quality.