Giter Site home page Giter Site logo

dark-horse-converter's Introduction

Dark Horse converter Build Status Go Report Card license

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

Easiest way to download Dark Horse comics is by using Dark Horse downloader Chrome extension.

If you don't want to install the extension, you can do it manually (following steps apply to Chrome web browser on Max OS X, but shouldn't be much different for any other OS/browser combination).

  1. Open Chrome and go to your library.

  2. Click on the comic book you want to convert.

  3. View page source by clicking View -> Developer -> View source.

  4. Find and click the link containing string "manifest.jsonp".

  5. When download is finished, open manifest.jsonp in any text editor.

  6. Find the line line looking like this:

"book_uuid": "9f1bb1e5dd524127bbdd0bba39d022e2"
  1. 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
  1. Visit constructed link in Chrome to download the tar archive.

Installation

$ go get github.com/metalnem/dark-horse-converter

Binaries (x64)

Windows
Mac OS X

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.