akitaonrails/ex_manga_downloadr
Fork: 13 Star: 73 (更新于 2024-12-17 02:34:17)
license: 暂无
Language: Elixir .
Port of the Ruby version of Manga Downloadr to fetch mangas from MangaReader.net
ExMangaDownloadr
This is an exercise in my path to learn Elixir. It is a simpler port of the Ruby tool "Manga Downloadr" which can also be used to fetch a manga from MangaReader.net.
Update: this tool now also supports MangaFox! So check it out!
Installation
This can be compiled as a command line tool:
-
You will need to install ImageMagick in your system (to resize images to Kindle format and merge them into PDF volumes). Refer to your system's particular install. In Ubuntu, simply do:
sudo apt-get install imagemagick
-
Fetch Elixir dependencies:
mix deps.get
-
Run tests if you want to contribute:
mix test
-
Build
mix escript.build
Usage
Try to fetch a small manga to test it working:
./ex_manga_downloadr -u http://www.mangareader.net/boku-wa-ookami -d /tmp/boku-wa-ookami
Mangafox CDN seems to restrict the amount of concurrent requests from the same origin, so if you're seeing too many crashes due to requests being denied, you can try to downgrade the maximum number of concurrent connections like this:
POOL_SIZE=10 ./ex_manga_downloadr -u http://mangafox.me/manga/onepunch_man/ -d /tmp/onepunch
So, prefer to use Mangareader if possible. Or you can combine with HTTP cache so you can resume if the operation is interrupted:
CACHE_SIZE=true ./ex_manga_downloadr -u http://mangafox.me/manga/onepunch_man/ -d /tmp/onepunch
Test Mode
You can turn on test mode to compare this implementation against my other manga downloaders, just do this:
time ./ex_manga_downloadr --test
And you can combine with caching to test just the processing parts:
time CACHE_HTTP=true ./ex_manga_downloadr --test
This mode will use One-Punch Man as the sample manga and it will skip the actual download, optimization and pdf compilation.
最近版本更新:(数据更新于 1970-01-01 00:00:00)
akitaonrails/ex_manga_downloadr同语言 Elixir最近更新仓库
2024-12-21 00:09:00 anoma/anoma
2024-12-11 03:53:15 electric-sql/electric
2024-11-23 19:38:53 teslamate-org/teslamate
2024-09-07 03:11:29 firezone/firezone
2024-07-07 05:20:46 elixir-lang/elixir
2024-04-11 02:26:13 zoonk/zoonk