Dark Horse converter
Converts digital Dark Horse comics into CBZ format. Comics are delivered to official iOS/Android clients as a tar archive that is not compatible with other comic book readers, so you have to convert them using this application before you can open them in the reader of your choice.
Downloading comics
Following steps apply to Chrome web browser on Max OS X (steps shouldn't be much different for any other OS/browser combination).
-
Open Chrome and go to your library.
-
Click on the comic book you want to convert.
-
View page source by clicking View -> Developer -> View source.
-
Find and click the link containing string "manifest.jsonp".
-
When download is finished, open manifest.jsonp in any text editor.
-
Find the line line looking like this:
"book_uuid": "9f1bb1e5dd524127bbdd0bba39d022e2"
- Construct the tar archive link for the comic by replacing {uuid} part of the following string with the book_uuid that you found:
https://digital.darkhorse.com/api/v6/book/{uuid}
In this example, final link would look like this:
https://digital.darkhorse.com/api/v6/book/9f1bb1e5dd524127bbdd0bba39d022e2
- Visit constructed link in Chrome to download the tar archive.
Installation
$ go get github.com/metalnem/dark-horse-converter
Usage
$ ./dark-horse-converter
Usage of ./dark-horse-converter:
-i string
Path of a comic book file in tar format to convert (required)
-o string
Output directory (if not specified, result will be placed in the same directory as the input)
Example
$ ./dark-horse-converter -i 'The Witcher Sampler.tar' -o ~/Comics