pipes

package
v0.0.0-...-7050784 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Depth

func Depth(n uint) spider.Pipe

func DoNormalizeUrl

func DoNormalizeUrl(url, base string) (string, error)

func Download

func Download(mapper func(string) string, perm os.FileMode) spider.Pipe
func FollowLinks(s *spider.Spider, t *spider.Task)

func IfUri

func IfUri(pattern string, ifPipe, elsePipe spider.Pipe) spider.Pipe

func IfUriRegexp

func IfUriRegexp(regexpString string, ifPipe, elsePipe spider.Pipe) spider.Pipe

func Ignore

func Ignore(s *spider.Spider, t *spider.Task)

func Max

func Max(n uint64) spider.Pipe

func NormalizeUrl

func NormalizeUrl(s *spider.Spider, t *spider.Task)

func Print

func Print(s *spider.Spider, t *spider.Task)

func Request

func Request(s *spider.Spider, t *spider.Task)

func Unique

func Unique() spider.Pipe

Types

This section is empty.

Jump to

Keyboard shortcuts

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