View Single Post
Old 01-29-2009, 03:27 PM   #662
kuki
Junior Member
kuki began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2009
Device: PalmTX
I have huge problem with free e-books.

http://www.ebook.pl/filestat.php?fil...120.prc&id=145

I can read this book only in Mobipocket Reader - but without any registrations, PID etc.

When I've used mobiperl I got something like this:

Code:
kuki@zuzia:~/Pulpit/mobiperl-0.0.41$ ./mobi2html /home/kuki/DRM/Classic_000120_oryginal.prc 
FULLFILENAME: /home/kuki/DRM/Classic_000120_oryginal.prc
FILENAME: Classic_000120_oryginal.prc
UNPACK DIRECTORY: unpacked
Name: SERCE
Version: 0
Type: BOOK
Creator: MOBI
baktime: -2082844800
Number of record: 46
PDHEADER  Version: 2
PDHEADER   Length: 168310
PDHEADER NRecords: 42
PDHEADER  Recsize: 4096
PDHEADER  Unknown: 131072
MOBIHEADER doctype: MOBI
MOBIHEADER  length: 240
MOBIHEADER    type: 2
MOBIHEADER   codep: 65001
MOBIHEADER  uniqid: 3520773060
MOBIHEADER     ver: 5
MOBIHEADER exthflg: 16
Version: 2 - 2 -  DOC_COMPRESSED
Looking for filepos
Found all filepos
Adding name attributes
UTF-8 detected: convert before TreBuilder parse
Fixing filpos attribute
HTML is empty:

Code:
kuki@zuzia:~/Pulpit/mobiperl-0.0.41$ cat unpacked/Classic_000120_oryginal.html 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body></body></html>
According to this specification:
https://wiki.mobileread.com/wiki/MOBI
this file is without DRM.

"Offset to DRM key info in DRMed files. 0xFFFFFFFF if no DRM"

but:

Code:
kuki@zuzia:~/Pulpit$ mobi2oeb ../DRM/Classic_000120_oryginal.prc 
Traceback (most recent call last):
  File "/usr/bin/mobi2oeb", line 8, in <module>
    load_entry_point('calibre==0.4.131', 'console_scripts', 'mobi2oeb')()
  File "build/bdist.linux-i686/egg/calibre/ebooks/mobi/reader.py", line 516, in main
  File "build/bdist.linux-i686/egg/calibre/ebooks/mobi/reader.py", line 187, in extract_content
calibre.ebooks.DRMError: SERCE
I can't use kindlefix or mobidedrm because I don't know the PID I should use. Generated from my PalmTX or Mobipocket reader on my laptop didn't work.

What can I do in this case?
kuki is offline   Reply With Quote