View Single Post
Old 02-06-2012, 01:23 PM   #1
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 927
Karma: 2143512
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
Programmatically detecting B&N DRM in books

The ePub QuickLook generator for Macs at https://github.com/jaketmp/ePub-quicklook has some (currently unreleased) code which tries a few heuristics to guess the DRM being used in a given book.

It works reasonably well so far for Adobe, Apple and Kobo DRM - the only examples I've got. The heuristics are currently in the code at https://github.com/jaketmp/ePub-quic...JTPepub.m#L495 for anyone interested. I'm certain it isn't perfect...

According to the wiki here, B&N have another DRM scheme. It'd be nice to be able to detect that DRM too, but B&N don't sell to the UK so I can't see what they do.

Can anyone offer any suggestions (or sample books!) showing what B&N's DRM looks like? We don't have to/want to decrypt it, just work out that it is from B&N.
chrisridd is online now   Reply With Quote