Crawly.ParsedItem (Crawly v0.17.0) View Source

Defines the structure of spider's result.

Usage with Parsers

A %ParsedItem{} is piped through each parser pipeline module when it is declared. Refer to Crawly.Pipeline for further documentation.

Link to this section Summary

Link to this section Types

Specs

item() :: map()

Specs

t() :: %Crawly.ParsedItem{items: [item()], requests: [Crawly.Request.t()]}