Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 03-17-2026, 01:13 PM   #121
DeLitCommonPotoo
Member
DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!DeLitCommonPotoo rocks like Gibraltar!
 
Posts: 13
Karma: 100010
Join Date: Mar 2026
Device: Kindle Paperwhite 11th Gen
Quote:
Originally Posted by Martin Krpan View Post
I just had a look at your source, and a small tip:
I think if you added the --inspect-brk command line argument you could connect to the Electron/Node main process for example shim fs.copyFile to 1. get a full list of files to be extracted without needing to query DOM for them and 2. eliminate the manual "open to Thorium and export to epub" step and just have an automated single-step lcpl -> drmfree epub. Feel free to use Dockerfile as reference.
DeLitCommonPotoo is offline   Reply With Quote
Old 03-17-2026, 02:16 PM   #122
Martin Krpan
Junior Member
Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!
 
Posts: 6
Karma: 100010
Join Date: Mar 2026
Device: Kindle Paperwhite 11th gen
Quote:
Originally Posted by DeLitCommonPotoo View Post
I just had a look at your source, and a small tip:
I think if you added the --inspect-brk command line argument you could connect to the Electron/Node main process for example shim fs.copyFile to 1. get a full list of files to be extracted without needing to query DOM for them and 2. eliminate the manual "open to Thorium and export to epub" step and just have an automated single-step lcpl -> drmfree epub. Feel free to use Dockerfile as reference.
Thanks for the suggestion. I will look into it.
The app was written in couple of hours as a fun little side project which solved the problem.
Not being able to do everything in one step was definitely on my mind but I could not find the solution right away.
The app will be updated if I manage to implement your solution.
Martin Krpan is offline   Reply With Quote
Advert
Reply

Tags
drm, lcp


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting a fixed layout LCP DRM protected ebook SvenSND Conversion 15 09-23-2024 01:45 PM
LCP Certification? rcentros Tolino 7 06-18-2019 09:28 PM
Extracting files from ePub on iPad/iMac AlanHK ePub 12 05-11-2016 02:24 AM
Extracting html/images from within .imp files! nrapallo IMP 12 03-10-2009 10:22 PM
Extracting pdb files from Palm Installer bpwhistler Alternative Devices 0 11-15-2008 03:07 PM


All times are GMT -4. The time now is 02:50 AM.


MobileRead.com is a privately owned, operated and funded community.