02-27-2019, 08:44 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2019
Device: none
|
How to extract text and images from an .mobi file (ebook)?
I would like to extract the contents of a .mobi file.
With an epub file I can extract the content with WinRAR but when I try with a .mobi, the only thing I can do is open it and see the contents. As soon as I try to open a file inside or extract something I have an error message telling me that the file is damaged. (For now, I have only tried with the WinRAR software and not with my script for epub files, so I do not have any code to show you) I do not think it has a DRM, I downloaded the file from Project Gutenberg If this way does not work... is there another way? |
02-27-2019, 09:35 AM | #2 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
covert it to epub, then extract
|
Advert | |
|
02-27-2019, 10:48 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2019
Device: none
|
How do you do that? I have to do that with a php script
|
02-27-2019, 11:09 AM | #4 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Add mobi to calibre library.
Use calibre convert function Simples. If I don't have calibre, get it, find out what it can do... It is free. It also has an editor, which is a simpler way to view and copy content. |
02-27-2019, 12:36 PM | #5 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
|
Advert | |
|
02-27-2019, 02:52 PM | #6 |
Lector minore
Posts: 649
Karma: 1738720
Join Date: Jan 2008
Device: Aura One, Samsung Galaxy Tab S5e, Google Pixel Slate
|
If you want to script it, probably the easiest thing to do is use kindleunpack.
|
02-28-2019, 03:10 AM | #7 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2019
Device: none
|
I can not use Calibre. I need to be able to do this via a php script because it has to work on a server. My supervisor refuses to make something work that he can not control
|
02-28-2019, 05:14 AM | #8 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
|
Tags |
mobi, php |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can i rotate text and insert images in Mobi and EPUB? | JanGLi | Kindle Formats | 5 | 02-02-2013 04:16 PM |
PDF to Mobi with text and images | pocketsprocket | Kindle Formats | 7 | 05-21-2012 07:06 AM |
Extract table of contents from mobi file | oecherprinte | Kindle Formats | 7 | 04-16-2012 12:10 PM |
Images at back of Mobi file | soparch | Kindle Formats | 5 | 07-05-2011 08:13 PM |
pdf to mobi... creating images rather than text | Dumhed | Calibre | 5 | 11-06-2010 12:08 PM |