apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.55k stars 1.52k forks source link

Calibre 5.28 Plus DeDRM 7.2.1 imports google play book PDF (ACSM file) without errors but PDF displays only XML #1866

Open matteg opened 3 years ago

matteg commented 3 years ago

Today I attempted to import into Calibre a PDF ebook I purchased from google play books. The file I imported was Drifters_Alliance_Book_1-pdf.acsm and it was accepted by Calibre without apparent error. When I opened the calibre ebook my pc started up the firefox web browser and displayed an xml document.

After researching my options I installed DeDRM_tool_7.2.1 , deleted my first attempt from calibre, restarted calibre and repeated the import with the same results (only XML shows when I open the ebook in calibre).

Browsing through the readme files included with DeDRM I repeated the process using the steps recommended if the plugin does not work. Delete the existing imported calibre file, restart calibre in debug mode, repeat the import. Same result but I now have the calibre debug log - attached as FailedDRMconversion-calibre-debug.log

Also attached is the file I tried to import and convert Drifters_Alliance_Book_1-pdf.acsm which I now see the xml file that calibre passes to my firefox browser when I try to open the imported ebook (see conversionResult-Drifters Alliance Book 1-pdf - Unknown.acsm.pdf).

I have also attached the calibre screen image after I imported the file (CalibreImportACSM-2021-10-05 13-56-12.png). DRM-debugFiles.zip

Leseratte10 commented 3 years ago

You've tried to directly import an ACSM file into Calibre.

ACSM files aren't really eBooks, they are just information files for Adobe Digital Editions on how to A) link that book to your Adobe account and B) download the actual PDF eBook from Google Play.

You can install Adobe Digital Editions (use ADE 2.0 instead of 4.5 to ensure you get the old DRM), log in with your AdobeID, then use that software to turn that ACSM file into an actual PDF file (and then import that into Calibre).

Or, if you want, you can try this calibre plugin that I created that can convert ACSM files into actual PDFs from within Calibre - but you will need to have an AdobeID account for that, too.