byw漫畫下載

下載搬運網單行本漫畫

作者
Mccranky83
日安装量
2
总安装量
21
评分
0 0 0
版本
2024-11-11
创建于
2024-10-10
更新于
2024-11-11
许可证
MIT
适用于

byw-manga downloader

Used 'Slow 4G' network throttling to intentionally cause failures for demonstration purposes!

Download manga from the following sources as zip archives :package:

Preview

Sidebar menu

Installation

Usage

  1. Search for the manga you want to download.
  2. Press 打包下載
  3. Coffee break ~ :coffee:
  4. Return to find your manga in the ~/Downloads folder

Keyboard Shortcuts

  • <C-o> - Open sidebar menu (same as clicking the floating menu ball)
  • <C-q> - Close sidebar menu (same as clicking the cross)

Development Environment

Browser Tampermonkey
Chromium 5.3.0

How It Works

This script uses the Fetch API and GM_xmlhttpRequest to send HTTP requests and receive payloads as ArrayBuffers. It then packages these ArrayBuffers into a ZIP file using JSZip and saves the file to your computer using FileSaver.js.

Warning

Payloads of returned requests are presumably stored in the RAM, NOT on your hard disk. In order to prevent the script from creating an ArrayBuffer larger than the memory allocation the tab holds, the cap is hardcoded to 512 * 2^30, roughly around 0.5 GB.

When that limit is exceeded, a new JSZip object is created and the previous ones are saved on the fly (interval being 500ms).