grayleonard / booxtream-epub-drm-remover

Removes all "Social DRM" from booXtream ePub files
179 stars 28 forks source link

Python 3 #7

Open cyanate opened 6 years ago

cyanate commented 6 years ago

May you please port your great tool to Python 3? I've tried to do it automatically with 2to3, but that's not enough.

Artoria2e5 commented 6 years ago

There's a 8-space thing on line 49, replace it with a tab. There should be a bunch of problems with bs4 strings too, but I can't test those out because Python3's ctype just won't stop with erroring out on loading cygwin1.dll (py2 works fine). Let me find some time to do it from Ubuntu…

Artoria2e5 commented 6 years ago

Done in #10. Should be equivalent among versions now; the sha256sums won't match due to timestamps.