01-05-2010, 03:16 PM | #346 |
Wizard
Posts: 2,895
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
|
It is. Just make sure you add the right PIDs. I got a K2, and read some of the 0s as Os. I figured if it wasn't right, I wouldn't get a PID. Well, I did, but it wasn't until Calibre started importing as AZW, that I realized I had the wrong PID. It is useful to try the PID with mobidedrm6, first.
|
01-05-2010, 03:46 PM | #347 |
Cannon Fodder
Posts: 2,833
Karma: 50921712
Join Date: Jan 2009
Location: Probably a library
Device: PRS-350, Kindle DX, Kindle Paperwhite
|
|
Advert | |
|
01-06-2010, 02:49 AM | #348 |
The Grand Mouse 高貴的老鼠
Posts: 72,186
Karma: 308792702
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
I've found that there's even a problem with 0.07 and some Mobipocket books, resulting in extra or wrong text every so often. Hopefully there'll be a 0.08 along shortly to fix those. (Specifically, Mobipocket v5 files that don't have trailing data entries, event though the header is 0xE8 long.)
[edit] And I've received notification (I get emailed when there are new comments) that there's is a new version of the code linked from the Dark Reverser's weblog comments. This one seems to be a combined stand-alone script /and/ calibre plug-in. Last edited by pdurrant; 01-06-2010 at 03:22 PM. |
01-14-2010, 05:17 PM | #349 | |
Evangelist
Posts: 488
Karma: 258
Join Date: Mar 2009
Device: kindle
|
Quote:
|
|
01-15-2010, 05:41 AM | #350 |
Addict
Posts: 357
Karma: 1112
Join Date: Oct 2008
Location: Euroland
Device: PocketBook 360°, BeBook (Hanlin V3), iRex DR1000S, iPad
|
v0.09 is out now (7 Jan 2010)...
|
Advert | |
|
02-06-2010, 11:51 PM | #351 |
Zealot
Posts: 124
Karma: 1142
Join Date: Feb 2010
Device: Kindle 3, Nook 3G
|
None of the new versions of mobidedrm work on my drm files. Just an old version of .02 does. Any help with compiling the calibre plugin with the old .02 version? Thanks.
|
02-07-2010, 06:19 AM | #352 | |
Addict
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
if not __name__ == "__main__":
Quote:
Code:
if not __name__ == "__main__": from calibre.customize import FileTypePlugin class MobiDeDRM(FileTypePlugin): name = 'MobiDeDRM' # Name of the plugin description = 'Removes DRM from secure Mobi files' supported_platforms = ['linux', 'osx', 'windows'] # Platforms this plugin will run on author = 'The Dark Reverser' # The author of this plugin version = (0, 0, 7) # The version number of this plugin file_types = set(['prc','mobi','awz']) # The file types that this plugin will be applied to on_import = True # Run this plugin during the import def run(self, path_to_ebook): of = self.temporary_file('.mobi') PID = self.site_customization data_file = file(path_to_ebook, 'rb').read() ar = PID.split(',') for i in ar: try: file(of.name, 'wb').write(DrmStripper(data_file, i).getResult()) except DrmException: # Hm, we should display an error dialog here. # Dunno how though. # Ignore the dirty hack behind the curtain. # strexcept = 'echo exception: %s > /dev/tty' % e # subprocess.call(strexcept,shell=True) print i + ": not PID for book" else: return of.name def customization_help(self, gui=False): return 'Enter PID (separate multiple PIDs with comma)' if __name__ == "__main__": print "MobiDeDrm v0.07. Copyright (c) 2008 The Dark Reverser" if len(sys.argv)<4: print "Removes protection from Mobipocket books" print "Usage:" print " mobidedrm infile.mobi outfile.mobi PID" else: infile = sys.argv[1] outfile = sys.argv[2] pid = sys.argv[3] data_file = file(infile, 'rb').read() try: file(outfile, 'wb').write(DrmStripper(data_file, pid).getResult()) except DrmException, e: print "Error: %s" % Martin |
|
02-07-2010, 08:33 AM | #353 | |
The Grand Mouse 高貴的老鼠
Posts: 72,186
Karma: 308792702
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
The right question is why is this person having problems with later MobiDeDRM? There are /lots/ of files that 0.02 doesn't handle correctly. I thought that with 0.09 we'd finally tied down just when Mobipocket files have trailing data flags or not. I haven't come across any on which it fails. |
|
02-08-2010, 10:10 AM | #354 | |
Addict
Posts: 357
Karma: 1112
Join Date: Oct 2008
Location: Euroland
Device: PocketBook 360°, BeBook (Hanlin V3), iRex DR1000S, iPad
|
Quote:
|
|
02-08-2010, 10:17 AM | #355 |
The Grand Mouse 高貴的老鼠
Posts: 72,186
Karma: 308792702
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
03-02-2010, 07:34 PM | #356 |
Enthusiast
Posts: 37
Karma: 10
Join Date: Mar 2010
Device: ppc, soon a ipod touch
|
I totally need so much help I have over 100 ebooks I bought that I want to read on ipod touch if someone can email with help I download everything I need and read so much but I'm getting a error
bash: mobidedrm02.py: command not found....... I'm so lost sucks butt PLEASe please help me nkphoto@telus.net |
03-02-2010, 07:48 PM | #357 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
BOb |
|
03-02-2010, 11:14 PM | #358 |
Enthusiast
Posts: 37
Karma: 10
Join Date: Mar 2010
Device: ppc, soon a ipod touch
|
Hi I have snow leopard
right now I have the script and ebook that I'm using to figure this out on my desktop, where would u like me to put it, I'll do what ever to figure it out also, I was wondering which script to use theres so many of them, and what version of python? I downloaded both for mac, but the site recommended the 2.6.4... not the 3..... and when u write the stuff in the python thing do I put spaces? like "mobidedrm02.py name of ebook...... ?? email nkphoto@telus.net |
03-03-2010, 04:05 AM | #359 | |
The Grand Mouse 高貴的老鼠
Posts: 72,186
Karma: 308792702
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
Eeekk.. The Dark Reverser's work has meant I've spent over $1600 on ebooks in the last 21 months! Oh... working it out, that's just under $18 a week. And so far this year, I have been reading books at a cost rate of about $15/week. So I suppose I haven't been too wildly extravagant. So - three cheers for the Dark Reverser! |
|
03-03-2010, 11:36 AM | #360 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
Oh and yes, the reader has to be registered to the same Adobe ID that you have your Mac registered to or the ebooks won't work on the device. Of course, this won't keep the device from being recognized. BOb |
|
Tags |
conversion, drm, formatting, mobipocket |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Epub/Mobipocket creation tool: Jutoh | Julian Smart | ePub | 78 | 03-28-2014 07:28 AM |
eReader Decoder Tool | wallcraft | Workshop | 177 | 09-27-2009 08:46 PM |
Secure Mobipocket Decoder | ebookfab | Kindle Formats | 3 | 12-09-2008 08:50 PM |
Secure Mobipocket Decoder v0.3 | Aenea | Kindle Formats | 74 | 07-10-2008 09:57 AM |
Secure Mobipocket Decoder is no more... | Aenea | Kindle Formats | 26 | 04-12-2008 09:53 AM |