08-11-2024, 10:27 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Aug 2024
Device: Kindle 4
|
Extract Mobi Max Location value
Hi,
I'm trying to extract the Max Location value from a .mobi to use it in combination with a .han file from my kindle to let a script decide if I finished reading that manga. I just can't seem to get the max Location info extracted from the .mobi, any good suggestions? |
08-12-2024, 08:08 PM | #2 |
Grand Sorcerer
Posts: 5,532
Karma: 100606001
Join Date: Apr 2011
Device: pb360
|
The wiki page: https://wiki.mobileread.com/wiki/Page_numbers
and the thread: https://www.mobileread.com/forums/sh...d.php?t=159357 give location number as: Code:
floor(a * 2 / 300 + 1) Code:
kindleunpack -d book_file_name Alternatively, the length is given in the p_contentSize column in the row for the book in the sqlite database cc.db somewhere under /var on the kindle. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't extract text in image for MOBI/AZW3, despite using OCR, in Calibre for Kindle | ck18ss@brocku.ca | Conversion | 1 | 08-15-2022 06:34 PM |
How to extract text and images from an .mobi file (ebook)? | Arkadya | Workshop | 7 | 02-28-2019 06:14 AM |
Extract table of contents from mobi file | oecherprinte | Kindle Formats | 7 | 04-16-2012 01:10 PM |
Extract KF8 out of MOBI to sell on my own page. | Drasek | Kindle Formats | 2 | 04-11-2012 12:44 PM |
is it possible to extract the html from mobi? | codrutoctavian | Kindle Formats | 1 | 02-15-2012 08:24 PM |