Basic plugin structure. View Source plugin.ts, line 14 Members Type: function # after Optional Called after task's execution View Source plugin.ts, line 48 Type: function # before Optional Called before task's execution View Source plugin.ts, line 42 Type: function # finish Optional Called when all tasks are finished. View Source plugin.ts, line 60 Type: string # name Identifier for the plugin. View Source plugin.ts, line 18 Type: function # onError Optional Called when an error is throwed during http request. View Source plugin.ts, line 66 Type: PriorityMap # priorities Optional Alternative setting for priorities. { before: 100, after: 90, onError: 40 } View Source plugin.ts, line 29 Type: number # priority Optional Plugin with higher priority will be executed first. View Source plugin.ts, line 23 Type: function # start Optional Called when registered on the Crawler View Source plugin.ts, line 54