laine

A CLI tool to deobfuscate & download manga chapters from multiple official Japanese providers.


Keywords
comic-downloader, comics-downloader, deobfuscator, manga, manga-downloader
License
MIT
Install
pip install laine==0.1.3

Documentation

🌊 Laine

A CLI tool to download and deobfuscate manga chapters from multiple official Japanese providers.

🪐 Features

  • Supports multiple providers:

    • Shonen Jump+
    • Comic-Days
    • Comic-Action
    • & More...
  • Downloads all pages of a chapter.

  • Deobfuscates scrambled image blocks.

  • Restores any missing transparency on the right side.

  • Saves pages as PNG images inside a ZIP archive.

🧩 Requirements

  • Python 3.7 or higher

Dependencies are automatically installed with pip:

  • requests
  • beautifulsoup4
  • pillow
  • tqdm
  • lxml
  • InquirerPy

🚀 Installation

pip install laine

🔒 Make sure you have Python 3.7+ and pip installed.

✨ Usage

Once installed, run the command:

laine
  • You’ll first select a provider using an arrow-key menu.
  • Then you’ll enter the chapter ID.
  • The result will be a ZIP archive containing clean, deobfuscated PNG images of the manga chapter.

❓ Example (Comic-Days Example)

If the chapter URL is:

https://comic-days.com/episode/2550912965469911422

You have to use just the ID:

2550912965469911422

🔑 Auth Setup (Comic-Days Example)

Create cookie.json in root directory:

[
    {
        "domain": "comic-days.com",
        "expirationDate": 1786178421.644756,
        "hostOnly": true,
        "httpOnly": true,
        "name": "glsc",
        "path": "/",
        "sameSite": null,
        "secure": true,
        "session": false,
        "storeId": null,
        "value": "COOKIE_VALUE"
    }
]

Use browser devtools to extract fresh cookie values, or use this extension, just hit export and select json.

📜 License

This project is available under the MIT License.

📢 Disclaimer

This tool is intended for educational and personal use only. Please respect the terms of service of Comic-Days and any applicable copyright laws.