Closed jzkmath closed 5 days ago
Thank you for the bug report.
I think you are right: The image has a .jpg extension but is now actually webp (like with https://cdn.j-novel.club/pub/img/1200/webp/01J/A/D/21WRCKSKBFEVTGR3GCF43.jpg). So I think there will be a need to perform a conversion (it seems my kobo cannot display them and it's possibly the same for other devices).
There is a link to some doc about the image URLs https://github.com/gvellut/jncep/issues/54#issuecomment-2408226450 It seems one can use a crafted URL to get the image in JPEG format instead of Webp: for example, for the URL above:
Webp (inside the original content): https://cdn.j-novel.club/pub/img/1200/webp/01J/A/D/21WRCKSKBFEVTGR3GCF43.jpg
JPEG (by slightly changing the URL): https://cdn.j-novel.club/pub/img/1200/jpg/01J/A/D/21WRCKSKBFEVTGR3GCF43.jpg
Version 49 (just released) should fix the issue. Let me know if not the case. Commit: 043a0459748437100205055be3f25c17266fa032
Describe the bug A clear and concise description of what the bug is. If applicable, copy the error message output by
jncep
at the end (in red usually).After version 48, downloaded EPUB files have errors that prevent them from being processed by Google Play Books. Newly uploaded books will sit on the "processing" phase for an extended time period and then ultimately fail. Workaround currently is to use calibre to convert to MOBI and then convert back to EPUB to fix corruption
Expected behavior A clear and concise description of what you expected to happen.
Downloaded EPUB files using jncep should process fine when uploaded to google play books.
To Reproduce Write the specific
jncep
command you used. If you used environment variables to set the options, also indicate them here.Take care to hide your J-Novel Club credentials! This issue will be visible to everyone.
use jncep to download an epub file such as Demon Lord, retry Volume 9 part 2. Attempt to upload this epub to google play books.
Debug trace If applicable, copy the debug trace of the execution. It can be obtained by passing the
-d
switch tojncep
i.e.jncep -d ...
. If the trace is big, copy it to a text file and add that file as attachment to this issue (by drag-and-dropping the file on this text box).The email (J-Novel Club login) will appear in the trace, so delete it if you don't want to make it visible.
N/A
Running an epub checker I get the following information:
Given this information, I am guessing that jncep is generating epub files that use WEBP instead of JPG or PNG which is breaking the epub file.
Environment (please complete the following information):