Refine Manhuaren is an extractor to extract Manhuaren comics, inspired by gumblex/refine-buka.
refine-manhuaren demo - asciinema
npm install -g refine-manhuaren
# or use npx to prevent global install
alias refine-manhuaren 'npx refine-manhuaren'
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.
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
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