Skip to main content

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

Project description

🌊 Laine

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

🪐 Features

  • Supports multiple official japanese providers.
  • 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.

💎 Providers

Provider Base URL Auth Support (Cookies) Tested
Comic Action Visit ⚠️ Unknown ⚠️ No
Comic Days Visit ✅ Supported ✅ Yes
Comic Gardo Visit ✅ Supported ✅ Yes
Comic Zenon Visit ✅ Supported ✅ Yes
Flat Hero's Visit ✅ Supported ✅ Yes
Magcomi Visit ⚠️ Unknown ⚠️ No
Shonen Jump+ Visit ⚠️ Unknown ⚠️ No
Sunday Webry Visit ⚠️ Unknown ⚠️ No
Tonarinoyj Visit ⚠️ Unknown ⚠️ No

✨ 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

laine-0.1.4.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

laine-0.1.4-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file laine-0.1.4.tar.gz.

File metadata

  • Download URL: laine-0.1.4.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for laine-0.1.4.tar.gz
Algorithm Hash digest
SHA256 779a9c8563f74afb68b06f9bac4670d9458f99ca76f7a33d5edcdd9dd4306ae2
MD5 aad39dc36dd5f73d1afe51c5020438bf
BLAKE2b-256 77053837a0ce4094e3c93d0b899f63e4daf29f81ea447cdf99bb7886ffca7238

See more details on using hashes here.

File details

Details for the file laine-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: laine-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for laine-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 50534c78034238e276c381c1126edc9ca2723b1387b81e08f5861dfd22618946
MD5 0cd4f2e01aa5ddcf2f3db61d36fcfc9d
BLAKE2b-256 405745c306c3856ac4defa0d7663fd1b1750e5bc4b80ccde9f55d3507418ffff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page