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
  • questionary

🚀 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 ✅ Supported ✅ Yes
Comic Border Visit ⚠️ Unavailable ✅ Yes
Comic Days Visit ✅ Supported ✅ Yes
Comic Gardo Visit ✅ Supported ✅ Yes
Comic Trail Visit ⚠️ Unavailable ✅ Yes
Comic Zenon Visit ✅ Supported ✅ Yes
Flat Hero's Visit ✅ Supported ✅ Yes
Kuragebunch Visit ✅ Supported ✅ Yes
Magcomi Visit ✅ Supported ✅ Yes
Shonen Jump+ Visit ✅ Supported ✅ Yes
Sunday Webry Visit ⚠️ Unavailable ✅ Yes
Tonarinoyj Visit ⚠️ Unavailable ✅ Yes

✨ 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

Using Comic Action as an example.

If the chapter URL is:

https://comic-action.com/episode/2550912965914166712

You have to use just the ID:

2550912965914166712

🔑 Auth Setup

Using Comic Action as an example.

Create cookie.json in root directory:

[
    {
        "domain": "comic-action.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 each provider 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.9.tar.gz (6.8 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.9-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: laine-0.1.9.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for laine-0.1.9.tar.gz
Algorithm Hash digest
SHA256 11b67cd73ae34f26b280a24e159a91336dc1ed580a85f85d728b33c3ee1aed0b
MD5 1b81ca90939e8396a0bc6ccb4bdea3ce
BLAKE2b-256 e4c18a62467288ad195adb6c84e80111c54424a71cb3b2fe9c50dc5986ad2836

See more details on using hashes here.

File details

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

File metadata

  • Download URL: laine-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for laine-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 125cf337d5089788c9e4b151990596b39c5e3aa5e2db6060eeda661334fb6a9d
MD5 9098b6acc286589d613865f124821bc9
BLAKE2b-256 0e84512d2b80dfbe3f57cef900c879a109e17e425b7bd0d212c8321c5df4631a

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