View Source Crawler.Store (Crawler v1.5.0)

An internal data store for information related to each crawl.

Summary

Functions

Adds a URL to the registry.

Adds the page data for a URL to the registry.

Returns a specification to start this module under a supervisor.

Finds a stored URL and returns its page data.

Finds a stored URL and returns its page data only if it's processed.

Initialises a new Registry named Crawler.Store.DB.

Marks a URL as processed in the registry.

Functions

Adds a URL to the registry.

Link to this function

add_page_data(arg, body, opts)

View Source

Adds the page data for a URL to the registry.

Returns a specification to start this module under a supervisor.

See Supervisor.

Finds a stored URL and returns its page data.

Finds a stored URL and returns its page data only if it's processed.

Initialises a new Registry named Crawler.Store.DB.

Marks a URL as processed in the registry.