Skip to content

hahazexia/comic_dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comic_dl

download comic images from web.

How

Usage: comic_dl.exe [OPTIONS] --url <URL>

Options:
  -u, --url <URL>          comic website url
  -e, --element <ELEMENT>  which element that contains comic images [default: .uk-zjimg]
  -a, --attr <ATTR>        image element src attr [default: data-src]
  -f, --file <FILE>        save filepath name [default: ./output]
  -d, --dl-type <DL_TYPE>  download type, "juan" "hua" "fanwai" "current" [default: current] [possible values: juan, hua, fanwai, current, local, upscale]
  -h, --help               Print help
  -V, --version            Print version

Support Site

  • antbyw
  • mangadex

Example

# local image process
cargo run -- -u "C:\Users\hahaz\Downloads\王者天下_单行本" -d "upscale"
cargo run -- -u "C:\Users\hahaz\Downloads\王者天下_单行本" -d "local"

# antbyw
cargo run -- -u "https://www.antbyw.com/plugin.php?id=jameson_manhua&c=index&a=bofang&kuid=143450" -d "juan"
cargo run -- -u "https://www.antbyw.com/plugin.php?id=jameson_manhua&c=index&a=bofang&kuid=143450" -d "hua"
cargo run -- -u "https://www.antbyw.com/plugin.php?id=jameson_manhua&c=index&a=bofang&kuid=143450" -d "fanwai"

# mangadex
cargo run -- -u "https://mangadex.org/title/40bc649f-7b49-4645-859e-6cd94136e722/dragon-ball"

Changelog

  • version 1.0.0 Support antbyw and mangadex, antbyw download have .json cache file. Support local image file convert to jpg format. Support local image upscale by Upscayl.
  • version 1.0.1 Support mangadex download have .json cache file. Support mangadex chapters sort.
  • version 1.0.12 Ant support caching HTML strings to a local folder to speed up performance. Print the final error message after everything is done.

About

download comic images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published