baron0668 / demoo

Decrypt your epub files from Readmoo Library
36 stars 15 forks source link

Python3 support? #1

Closed ixearth closed 4 years ago

ixearth commented 4 years ago

Thanks this script is very useful.

Currently the script require python2, and need to install pycrypt the package. It does not require any package if the script was written in python3.

I don't know python. I have tried to convert the script by using 2to3 and edited it to execute without produce any error. but the output epub have some problems.

It shows this error above each title of chapter in Apple Books.

“This page contains the following errors: error on line 29 at column 1: Extra content at the end of the document Below is a rendering of the page up to the first error.”

Can you fix this script? or rewrite a python3 one? test.py.zip

btw the database path have been changed on macOS Catalina. should be dbPath = homePath + "/Library/Containers/com.readmoo.readmoodesktop/Data/Library/Application Support/Readmoo/Local Storage/" + "app_readmoo_0.localstorage"

Anonymous-Hentai commented 4 years ago

@ixearth https://github.com/baron0668/demoo/pull/2

Done.

baron0668 commented 4 years ago

Close issue.