Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Other discussions > Removing DRM protection from eBooks
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #31  
Old 12-13-2010, 05:12 AM
55kevy 55kevy is offline
Junior Member
 
Join Date: Dec 2010
Posts: 3
55kevy is on a distinguished road
Default

Re: Remove DRM from PDB ebook from B&N (Barnes & Noble),...


That is what I have done. Both the .py and the .pdb files are in the same directory, I'm running the command prompt set at the same directory, and I'm setting outdir as the same directory. So what now?
Reply With Quote
  #32  
Old 12-13-2010, 05:27 AM
55kevy 55kevy is offline
Junior Member
 
Join Date: Dec 2010
Posts: 3
55kevy is on a distinguished road
Default

Re: Remove DRM from PDB ebook from B&N (Barnes & Noble),...


OK - tried it one last time: command prompt set at directory where erdr2pml.py and book.pdb are and used the syntax:
Code:
erdr2pml.py book.pdb "my name" ccn
And it worked! So now I just have to tackle the other 300 titles.
Reply With Quote
  #33  
Old 12-13-2010, 10:10 AM
Stream Recorder
 
Posts: n/a
Default

Re: Remove DRM from PDB ebook from B&N (Barnes & Noble),...


Quote:
Originally Posted by 55kevy View Post
Code:
erdr2pml.py book.pdb "my name" ccn
And it worked! So now I just have to tackle the other 300 titles.
Then it is a good idea to create a batch file for that. I'm not an expert in that, but the following should work:

Code:
for %f IN (*.pdb) do call erdr2pml.py %f "name" ccn
or something like that:
Code:
for /f %%a IN ('dir /b *.pdb') do call erdr2pml.py %%a "name" ccn
The /f flag is used to return filenames (not directories).
"dir /b *.pdb" returns a bare directory listing (no filesize, attributes, etc.) with filenames that match the *.pdb pattern.
"%%a" is our variable.
Reply With Quote
  #34  
Old 02-17-2011, 10:18 AM
stehr stehr is offline
Junior Member
 
Join Date: Feb 2011
Posts: 1
stehr is on a distinguished road
Default

Re: Remove DRM from PDB ebook from B&N (Barnes & Noble),...


I'm having trouble with this. When I enter:
erdr2pml.py a.pdb "My name" CCN
I receive the error:
File "<stdin>", line 1
SyntaxError: invalid syntax (highlighting the name of the book 'a')

I've tried renaming the files as numbers or all lowercase letters, but to no avail. What am I missing?

Thanks!
Reply With Quote
  #35  
Old 02-17-2011, 11:15 AM
Stream Recorder
 
Posts: n/a
Default

Re: Remove DRM from PDB ebook from B&N (Barnes & Noble),...


Quote:
Originally Posted by stehr View Post
I'm having trouble with this. When I enter:
erdr2pml.py a.pdb "My name" CCN
I receive the error:
File "<stdin>", line 1
SyntaxError: invalid syntax (highlighting the name of the book 'a')

I've tried renaming the files as numbers or all lowercase letters, but to no avail. What am I missing?
What version of Python do you use? If you use Python 3.x, try to use 2.x instead. Also try to use eReaderPDB2PML.pyw from the ebook DRM removal tools archive

Quote:
Originally Posted by README_eReaderPDB.txt
Barnes & Noble/Fictionwise eReader, .pdb

Barnes & Noble’s .pdb eReader format is one of the survivors from the early days of ebooks. Internally, text is marked up in PML – Palm Markup Language. This makes conversion to other formats more difficult.

Barnes and Noble .pdb ebooks use a form of Social DRM which requires information on your Credit Card Number (last 8 digits only) and the Name on the Credit card to unencrypt the book that was purchased with that credit card.

There are three scripts used to decrypt and convert eReader ebooks.

The first, eReaderPDB2PML.pyw removes the DRM and extracts the PML and images from the ebook into a folder. It’s then possible to use the free DropBook (available for Mac or Windows) to compile the PML back into a DRM-free eReader file.

The second script, Pml2HTML.pyw, converts the PML file extracted by the first script into xhtml, which can then be converted into your preferred ebook format with a variety of tools.

The last script is eReaderPDB2PMLZ.pyw and it removes the DRM and extracts the PML and images from the ebook into a zip archive that can be directly imported into Calibre.

All of these scripts are gui python programs. Python 2.X (32 bit) is already installed in Mac OSX. We recommend ActiveState's Active Python Version 2.X (32 bit) for Windows users.

Simply double-click to launch these applications and follow along.
Reply With Quote
  #36  
Old 04-03-2011, 07:37 AM
polocanada polocanada is offline
Junior Member
 
Join Date: Apr 2011
Posts: 1
polocanada is on a distinguished road
Default

Re: Remove DRM from PDB ebook from B&N (Barnes & Noble),...


Worked fine. Thank you. (BTW... if you can't find images... - I couldn't initially.. they will be stored in a newly created folder called "images")..

Last edited by polocanada : 04-03-2011 at 09:16 AM.
Reply With Quote
  #37  
Old 07-09-2011, 03:45 PM
soCal soCal is offline
Junior Member
 
Join Date: Jul 2011
Posts: 1
soCal is on a distinguished road
Default

Re: Remove DRM from PDB ebook from B&N (Barnes & Noble),...


Ok I don't have windows, but I followed along on my mac and I am familiar with linux.

I downloaded python v2xx
I also downloaded erdr2pml.py AND xpml2xhtml.py
I placed the above files into a working directory
I placed my numbered pdb file into this directory also
I opened a terminal and did the following:
cd into the working directory
then this command:
xpml2xhtml.py #####5_pdv.v1.pdb "My name" CC#######

I receive this as a result:
xpml2xhtml.py: command not found

Is there anyone who can help me with this or knows what may be wrong? Thanks a bunch!
Reply With Quote
  #38  
Old 07-12-2011, 10:56 AM
Stream Recorder
 
Posts: n/a
Default

Re: Remove DRM from PDB ebook from B&N (Barnes & Noble),...


Quote:
Originally Posted by soCal View Post
Ok I don't have windows, but I followed along on my mac and I am familiar with linux.

I downloaded python v2xx
I also downloaded erdr2pml.py AND xpml2xhtml.py
I placed the above files into a working directory
I placed my numbered pdb file into this directory also
I opened a terminal and did the following:
cd into the working directory
then this command:
xpml2xhtml.py #####5_pdv.v1.pdb "My name" CC#######

I receive this as a result:
xpml2xhtml.py: command not found

Is there anyone who can help me with this or knows what may be wrong? Thanks a bunch!
Have you tried to remove DRM with Calibre plug-ins?
Reply With Quote
  #39  
Old 10-09-2011, 06:03 AM
kcl34 kcl34 is offline
Junior Member
 
Join Date: Oct 2011
Posts: 1
kcl34 is on a distinguished road
Default

Re: Remove DRM from PDB ebook from B&N (Barnes & Noble),...


Hi Johnr267, can you please help me remove DRM from a pdb ebook for me? thanks
kcl
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:54 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons