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.8.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.8-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: laine-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 7bc74c223a9704a41242a21630b0dd181ae747d8496e629e3caa710536e9b06c
MD5 c36d62c8df2259a2ac9bbea4d6b2dae4
BLAKE2b-256 2009d989e132d75791f6ee6ec7d139f3e9ef9a604275f872a48d55f7398103b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: laine-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d10d09fee2091d47f995403d2ee990b43be822b18cf917a897c6f394ec712e3a
MD5 80a6a27fbf2922266cd6af81c73f29b8
BLAKE2b-256 a3ce53794828aaeb4614b2eb40a3c4f325a650d7d67528e8198c04fa547db12b

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