This commit is contained in:
NoDRM
2021-12-29 09:14:35 +01:00
parent 80f511ade9
commit 9c40b3ce5a
9 changed files with 24 additions and 463 deletions

View File

@@ -994,11 +994,11 @@ class DeDRM(FileTypePlugin):
decrypted_ebook = self.eReaderDecrypt(path_to_ebook)
pass
elif booktype == 'pdf':
# Adobe PDF (hopefully)
# Adobe PDF (hopefully) or LCP PDF
decrypted_ebook = self.PDFDecrypt(path_to_ebook)
pass
elif booktype == 'epub':
# Adobe Adept or B&N ePub
# Adobe Adept, PassHash (B&N) or LCP ePub
decrypted_ebook = self.ePubDecrypt(path_to_ebook)
else:
print("Unknown booktype {0}. Passing back to calibre unchanged".format(booktype))