Giter VIP home page Giter VIP logo

azw2zip's Introduction

azw2zip

KindleUnpackとDeDRM、DumpAZW6を改造してKindleの電子書籍(azw/azw3(あればresも))を画像のみの無圧縮zipかepubに変換するようにしたもの。
zipにした場合は画像ファイルのみが格納されます。(小説等テキストベースの書籍の場合は表紙と挿絵のみ)
azwはWindowsならキーファイル(k4i)がなければ作り、変換します。(多分Macもだけど環境がないので未確認)
Linux(WSLも)では各自キーファイル(k4i)を別途用意してこれと同じディレクトリにおいてください。
Python 2.7かPython 3.8にpycryptoを入れたものが動く環境が必要です。
Kindleは1.24以前のものをインストールした環境でないとダメです。(DeDRMの仕様)

Requirement

  • Python 2.7 or 3.8
  • pycrypto

Usage

python azw2zip.py -z X:\My Kindle Content X:\Comic

詳しくはreadme.txtを参照。

Development environment

  • Kindle 1.24
  • Python 2.7.17 & Python 3.8.2
    • Windows 10
    • Ubuntu 18.4 LTS(WSL)

Note

py2exe

p2exeをインストールする。

  • azw2zip/*.py
  • azw2zip/DeDRM_Plugin/*.py (__init__.py除く)
  • azw2zip/KindleUnpack/lib/*.py (__init__.py除く)

上記の*.pyを同じディレクトリに入れる。

python setup.py py2exe  

を実行する。

License

GNU General Public License v3.0

Author

References

azw2zip's People

Contributors

junk2ool avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.