Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 2.89 KB

README.md

File metadata and controls

49 lines (34 loc) · 2.89 KB

comix

A Python tool to download and remove DRM from comics and manga from ComiXology for backing up

Disclaimer

This tool is meant to be used only for creating offline, personal, backups of content that you have bought and own. We do not endorse piracy and sharing content downloaded using this tool. The full responsibility of using this tool correctly and not misuing it for misappropriate reasons lies with the user(s).

This tool has been solely written by us, only accesses the platform's publicly-accessible release API, and the token required to access the API is supplied by the user(s). The protocol buffer definitions used by the API were reverse-engineered and "guessed" by us.

Description

This tool can be used to download DRM-free copies of comics & manga from the ComiXology platform, including both bought items and those covered by the subscription. The content is downloaded at the highest quality available, which is usually what can be found on the mobile versions of the platform, unlike the SD content found in the browser version. This tool requires a single cookie from your account to download content and an ID of the content you wish to download, which can be found in the url of the item's store page or reader page.

Installation

  1. Make sure that you have Python 3 installed before installing this tool
  2. Clone the tool using git clone https://github.com/athrowaway2021/comix or download the source code as a zip and unpack it in any location.
  3. Install libraries required by the tool using pip install -r requirements.txt

Usage

First acquire your authentication token cookie (aToken) from the website (region irrelevant) via the Application tab in your browser's devtools (can usually be accessed using the F12 key). You must be logged in order to get the cookie. Copy the cookie's value into the AUTH_TOKEN field in the config.py file.

You can now use the tool by running comix.py and supplying the item ID as an argument. The downloaded content will be saved to the output folder. Be aware that the cookie will expire after some time or if you log out of the session from which you got the cookie and you will have to reacquire it.

> python comix.py list
899890 : Haikyu - v41
797946 : Marginal Operation - v01
1720 : New Avengers (2004-2010) - 001
271718 : Attack on Titan Sampler

You can also list all of the item IDs for content you own by supplying list as an argument.

> python comix.py 797946
797946 : Marginal Operation - v01
Downloading page 206 . . .
Done! Content saved to C:\comix\comix_out\Marginal Operation - v01

Third-Party

This program uses the Python standard library and the following:

See /licenses/ for the corresponding licenses, copyright notices, and permission notices.