![]() There is plenty of cleanup that could be done on this tool, but it works, and that's what's matter for an initial release. Right? |
||
---|---|---|
lcpl2epub | ||
.gitignore | ||
README.md |
lcpl2epub
This is a tool to transform lcpl files into readable epub files.
When you acquire your lcpl book, a password is provided - that password will be needed for this conversion.
Details
When you get your book, you get an lcpl file only, and a password to open it with. The lcpl file does not really have the book, only information on how to get it. This tool starts by getting the book for you, and keep it locally, so you don't loose access to it, can make a backup, etc.. The saved book is locked with your password - but your epub reader won't know how to deal with it, so this tool reads the book with the password for you, and saves the readible format, so you can use that on your epub reader of choice.
Usage
Usage: python3 lcpl2epub remove_drm /path/to/file.lcpl --password YourBooksPassword [--force]
License
This code was done in 2025 by ANSOL, and is provided under a GPL v3 license.
It reuses some code from:
- 2008, Kovid Goyal
- 2021, NoDRM