mangadownloader

package module
v0.0.0-...-b4cadb4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2014 License: MIT Imports: 12 Imported by: 0

README

Manga Downloader

A manga downloader written in Go (Golang).

Features

Binaries

https://www.dropbox.com/sh/zc94728pgccei17/mskEqE4XuM

Usage

Usage:
Pass urls (manga/chapter/page) as argument.

Options: (pass them BEFORE the arguments, Go's "flag" package is not really smart...)
  -cbz=false: CBZ
  -httpretry=5: Http retry
  -out="": Output directory
  -pagedigitcount=4: Page digit count
  -parallelchapter=4: Parallel chapter
  -parallelpage=8: Parallel page

Examples:

./mangadownloader http://www.mangareader.net/97/gantz.html
./mangadownloader http://mangafox.me/manga/berserk/c134/1.html

Status

Build Status

Build

go build mangadownloader/mangadownloader.go

or

go get github.com/pierrre/mangadownloader/mangadownloader and the binary will be in your GOPATH/bin

Help

  • Twitter: @pierredurand87
  • Github issue

TODO

  • More services
    • animea
    • unixmanga
    • goodmanga
    • mangacraze
    • mangago
    • anymanga
    • mangainn
    • mangaeden
    • mangable
    • deliciousmanga
    • mangastream
  • Fix download freeze
  • Tests
  • Documentation
  • Sync
  • Input file
  • Concurrency for input
  • Progress
  • User agent
  • Improve error handling
  • Improve http error codes

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadChapter

func DownloadChapter(chapter *service.Chapter, out string, options *Options) error

func DownloadManga

func DownloadManga(manga *service.Manga, out string, options *Options) error

func DownloadPage

func DownloadPage(page *service.Page, out string, filename string, options *Options) error

func Identify

func Identify(u *url.URL, options *Options) (interface{}, error)

Types

type Options

type Options struct {
	Cbz             bool
	PageDigitCount  int
	ParallelChapter int
	ParallelPage    int

	HTTPRetry int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL