crawl-schedule

command
v0.0.0-...-a1d1ef6 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

README

crawl-schedule

Command line tool for scheduling crawl requests in nsq.

Usage

$ go install github.com/crackcomm/crawl/nsq/crawl-schedule
$ # or
$ make install-crawl-schedule
$ crawl-schedule --help
NAME:
   crawl-schedule - schedules a crawl request in nsq

USAGE:
   crawl-schedule [global options] command [command options] <url>
   
VERSION:
   0.0.1
   
COMMANDS:
   help, h	Shows a list of commands or help for one command
   
GLOBAL OPTIONS:
   --nsq-addr 							nsq address (required) [$NSQ_ADDR]
   --topic "crawl_requests"					crawl requests nsq topic (required) [$TOPIC]
   --form-value [--form-value option --form-value option]	form value in format (format: key=value)
   --metadata [--metadata option --metadata option]		metadata value in format (format: key=value)
   --callback [--callback option --callback option]		crawl request callbacks (required)
   --referer 							crawl request referer
   --method "GET"						crawl request referer
   --timeout "0"						request timeout
   --help, -h							show help
   --version, -v						print the version
   

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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