Interface

Plugin

Plugin

Basic plugin structure.

View Source plugin.ts, line 14

Members

function

# after Optional

Called after task's execution

View Source plugin.ts, line 48

function

# before Optional

Called before task's execution

View Source plugin.ts, line 42

function

# finish Optional

Called when all tasks are finished.

View Source plugin.ts, line 60

string

# name

Identifier for the plugin.

View Source plugin.ts, line 18

function

# onError Optional

Called when an error is throwed during http request.

View Source plugin.ts, line 66

PriorityMap

# priorities Optional

Alternative setting for priorities.

{
 before: 100,
 after: 90,
 onError: 40
}

View Source plugin.ts, line 29

number

# priority Optional

Plugin with higher priority will be executed first.

View Source plugin.ts, line 23

function

# start Optional

Called when registered on the Crawler

View Source plugin.ts, line 54