manga-mirror

command module
v0.0.0-...-ee38f16 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

README

Manga-Mirror

mangareader.net crawler.

Build

$ make

It builds an executable under $GOPATH/bin/ named manga-mirror.

Usage

Parameters:

  -db [string]
	   Path for crawler sync index (default "_mrdb")
  -dir [string]
    	Path to store downlaoded media (default "_media")
  -url [string]
    	Web URL to crawl for media
  -filter [string]
    	Regex pattern to filter URIs, e.g. 'mangareader.net|naruto'
  -log [string]
    	log file name, for logging (default STDOUT)
  -user-agent string
    	UserAgent for HTTP HEADER (default "mng-rdr")
$ manga-mirror -url [some-manga-url] -filter [some-regex-pattern]

Misc

This crawler can be used to crawl other sites, and download images. Though it is ever hardly used or tested at that task. Note that this crawler respects robots.txt configurations on which paths can be crawled, but not on the crawling interval.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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