Crawler v0.3.0 Crawler.Fetcher.Recorder

Records information about each crawl for internal use.

Link to this section Summary

Link to this section Functions

Examples

iex> Recorder.record(url: "url1", depth: 2)
{:ok, %{depth: 3, url: "url1"}}

iex> Recorder.record(url: "url2", depth: 2)
iex> Store.find("url2")
%Page{url: "url2"}
Link to this function store_page(url, body)