A command line tool to download and convert manga into customized volumes for reading at e-book reader heavily based on manga-downloadr.
The main motivation for this tool is to download and maintain the original files for the manga being downloaded and make possible to convert them into files that could be easily read on e-book readers.
It current supports the following file types:
- cbz (you should have
zip package
installed)
And the following sites:
Just install with:
gem 'manga-downloader', :github => 'robsonjrce/manga-downloader'
And then execute:
$ manga-downloader <command>
--init URL
Create an empty manga-downloader repository--fetch
Download objects and references from the repository--check [FOLDER]
Checks the integrity of the repository--clear-cache [VOLUME]
Removes all the cache of the current repository--pdf [FOLDER]
Compiles the destination folder into pdf--cbz [FOLDER]
Compiles the destination folder into cbz--size PAGE_SIZE
Defines the size of the page to be rendered width,height--help
Show help message
We should define a new directory and initialize our repository:
manga-downloader --init http://www.mangareader.net/shingeki-no-kyojin --size 1080,1440
Notice that our page size is defined to Kobo Aura HD. For Kindle Paperwhite, use:
manga-downloader --init http://www.mangareader.net/shingeki-no-kyojin --size 600,800
The configuration defined is stored at the current directory under the file manga-downloader.yaml
After setting up our environment, we should download all the volumes available:
manga-downloader --fetch
(during download state, you can be shown all retry attempts)
And convert it to be read on our e-reader:
On devices that support cbz
files (as Kobo Aura HD):
To convert a single volume you should do:
manga-downloader --cbz [Volume Name]
To convert all volumes into cbr
just omit the volume name.
For all the others devices, there's always the support of PDF
:
manga-downloader --pdf [Volume Name]
To convert all volumes into pdf
just omit the volume name.
- Fork it ( https://github.com/robsonjrce/manga-downloader/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request