Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 2.27 KB

README.md

File metadata and controls

70 lines (50 loc) · 2.27 KB

Refine Manhuaren

NPM Version

NPM Dependencies GitHub Dev Dependencies

Refine Manhuaren is an extractor to extract Manhuaren comics, inspired by gumblex/refine-buka.

refine-manhuaren demo - asciinema

Install

npm install -g refine-manhuaren
# or use npx to prevent global install
alias refine-manhuaren 'npx refine-manhuaren'

Usage

Manhuaren stores downloads in manhuaren/download/.
The target folder can be changed in settings, e.g.:

  • /storage/emulated/0/Android/data/com.mhr.mangamini/files/
  • /storage/extSdCard/Android/data/com.mhr.mangamini/files/

Copy the manhuaren folder to your PC, say ~/manhuaren.

Then use refine-manhuaren to query or extract the folder.

info

refine-manhuaren info ~/manhuaren/
# also work for subtree
refine-manhuaren info ~/manhuaren/download/16464
# output result in JSON format
refine-manhuaren info ~/manhuaren/ -j > downloaded.json

extract

refine-manhuaren extract ~/manhuaren/ ~/out
# also work for subtree
refine-manhuaren extract ~/manhuaren/download/16464 -z
# some manga's file names in section info is not sorted (e.g. 3x3 Eyes)
# use `-I` to ignore it and rename files using the original index
refine-manhuaren extract ~/manhuaren/download/1210 -I

TODO:

  • we don't have progress with zipFolder()
    use Archiver ourself with progress event
  • use async/await