View Single Post
Old 10-19-2024, 05:17 AM   #18
nezih
Enthusiast
nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.
 
nezih's Avatar
 
Posts: 43
Karma: 14828
Join Date: Feb 2023
Device: Boox Page, Kobo Aura SE
Quote:
Originally Posted by Thorns View Post
Hi, yes the steps I took are as follows. I have the azw3 which has DRM on it.

1. Load up the file in calibre
2. "Convert" the file in calibre to remove the DRM - I converted this to MOBI
3. Use the unpack plugin on the resulting MOBI file
4. Run your script in the mobi7 folder that gets created - this folder has the "book.html" file

Then I received the error.

I have just tried to run the unpack plugin directly without first converting it and it gives an error immediately - i assume because it has DRM on it.

I have also tried to "convert" it to azw3; i.e. just try to remrove the DRM. This works, but when I run the unpack I get a mobi8 folder which doesn't have the html file, and the mobi7 folder which only has the images and no html file so I'm not sure how I can run your script.

Could you please detail how you managed to get it to work? Many thanks again
- Renamed the .original_mobi to .azw3
- Dragged and dropped this file to calibre then ran KindleUnpack on it
- In the output mobi7 folder ran the script as below:
Code:
python mobi2stardict.py --fix-links --html-file book.html --chunked
nezih is offline   Reply With Quote