03-11-2012, 05:45 PM | #1 |
Enthusiast
Posts: 47
Karma: 490332
Join Date: Mar 2012
Device: None Currently
|
Check Kindle eBook DRM
Hi guys. I need a little help. I JUST downloaded Python for the first time ever. Installed it. Downloaded this script, put both files in the same folder as my eBook, and now i have no idea how to proceed.
I tried typing "echo off for %a in (*.azw) do kindledrm "%a" echo on" into cmd but that didn't do anything. Sorry for being so clueless. A step by step would be extremely helpful and MUCH appreciated. Thanks. |
03-11-2012, 06:00 PM | #2 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
This is an old script that looks for the DRM flag in AZW/MOBI files and prints out "DRM" or "DRM-free" and then the filename. It still seems to work, even for newer versions of Amazon DRM.
I suggest first confirming that it works on one .azw file (with echo on): Code:
kindledrm filename.azw Last edited by wallcraft; 03-11-2012 at 06:04 PM. |
Advert | |
|
03-11-2012, 06:08 PM | #3 |
The Grand Mouse 高貴的老鼠
Posts: 71,514
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
You might also find this more sophisticated script useful. It not only identifies the DRM, but also the kind of eBook.
Hmm.. come to think of it, it probably now needs updating for Print Replica and KF8 files... always something new! |
03-11-2012, 06:53 PM | #4 |
Enthusiast
Posts: 47
Karma: 490332
Join Date: Mar 2012
Device: None Currently
|
Guys, you think i know more then i actually do lol.
All i get is this anytime i do anything with python |
03-11-2012, 06:57 PM | #5 |
Enthusiast
Posts: 47
Karma: 490332
Join Date: Mar 2012
Device: None Currently
|
I literally just downloaded Python. I no almost nothing about scripts or how to use them as well. But i am good at following instructions .
|
Advert | |
|
03-11-2012, 07:10 PM | #6 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
See Install Python Windows I suggest downloading 2.7.2 (don't download the 3.X.X versions).
Note that if your goal is to run DRM-stripping scripts, it may be simpler to use Calibre and the 3rd party DRM-stripping plugins that can be added to it. These are written in Python, but don't require Python to be installed on your PC. See Apprentice Alf's Blog for more info. |
03-11-2012, 07:12 PM | #7 |
Wizard
Posts: 3,144
Karma: 8426142
Join Date: Jun 2008
Location: Chicago, IL
Device: Kindle PW2, Kindle Voyage, Kindle DXG, Boox M90, Kobo Aura HD
|
|
03-11-2012, 07:24 PM | #8 |
Enthusiast
Posts: 47
Karma: 490332
Join Date: Mar 2012
Device: None Currently
|
Alright, downloaded Python 2.7.2, and something called wxpython (i think), then i followed the guide and added ";c:\Python27;c:\Python27\Tools\Scripts" to PATH. Now what?
Last edited by Big McLargeHuge; 03-11-2012 at 07:50 PM. |
03-11-2012, 07:40 PM | #9 | |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I'm not sure what you have going on but you seem to be adding Python 2.6 folders to your path, yet you indicated you downloaded/installed Python 2.7. Last edited by DiapDealer; 03-11-2012 at 07:43 PM. |
|
03-11-2012, 07:50 PM | #10 | |
Enthusiast
Posts: 47
Karma: 490332
Join Date: Mar 2012
Device: None Currently
|
Quote:
|
|
03-11-2012, 08:03 PM | #11 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
If you look at any folder containing .py files using file explorer, they should show up with yellow and blue (python) icons.
If you type python in a command window, it should come back with a 2.7.2 header and >>> Type quit() to exit. Now try Code:
kindledrm filename.azw Code:
drmcheck filename.azw |
03-11-2012, 11:33 PM | #12 |
Enthusiast
Posts: 47
Karma: 490332
Join Date: Mar 2012
Device: None Currently
|
|
03-12-2012, 12:53 AM | #13 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Don't run kindledrm inside python, just type kindledrm file.azw
The command processor will recognize that it needs to invoke python to run kindledrm.py. Assuming this works, then so will the original "for" command from the 1st post. |
03-12-2012, 01:57 AM | #14 |
Junior Member
Posts: 1
Karma: 10
Join Date: Mar 2012
Device: none
|
If not, then there is something wrong with your Python install.
|
03-14-2012, 11:47 AM | #15 | |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
Quote:
Carol |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DRM Check: Find out what DRM that ebook has got. | pdurrant | Workshop | 25 | 10-07-2014 03:49 AM |
.html ebook Security check me | Xabache | Other formats | 0 | 09-17-2011 02:14 AM |
How can you tell if the Kindle Store ebook has DRM? | rock | Kindle Formats | 3 | 12-14-2009 05:55 PM |
ShineBook Mobile eBook Reader announced in Germany, reads both DRM-prc + DRM-ePub ... | K-Thom | News | 11 | 12-12-2009 06:50 AM |
Please check ebook template | AlexBell | Workshop | 9 | 07-24-2009 02:12 AM |