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 ✅ Supported ✅ Yes
Comic Days Visit ✅ Supported ✅ Yes
Comic Gardo Visit ✅ Supported ✅ Yes
Comic Zenon Visit ✅ Supported ✅ Yes
Flat Hero's Visit ✅ Supported ✅ Yes
Magcomi Visit ✅ Supported ✅ Yes
Shonen Jump+ Visit ✅ Supported ✅ Yes
Sunday Webry Visit ⚠️ Unsupported ✅ Yes
Tonarinoyj Visit ⚠️ Unsupported ✅ 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 (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.7.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.7-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: laine-0.1.7.tar.gz
  • Upload date:
  • Size: 6.8 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.7.tar.gz
Algorithm Hash digest
SHA256 ba6630aa7c66e87f4c1af67eabbffd50099dabb00a4d7c57e9ec178719d76291
MD5 05007e5305910ff762da55ea9c411ee3
BLAKE2b-256 485dc1db2bfb792cdf886443c301a98e8a06eddde172f4270eaa191c82eb69dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: laine-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3729f8fd980e21a675d8266ff502bbf117a3fbf015eda4e4a26a2ffb3c74dd87
MD5 7918f6f0aef6d54f8022b55ed63a17a2
BLAKE2b-256 1ed2a947a4c98d4408583a2a70ca429fe2c315c3c1714060ce7d113192607592

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