Crawler v1.1.1 Crawler.Fetcher.UrlFilter.Spec behaviour

Spec for defining an url filter.

Link to this section Summary

Link to this section Types

Link to this type

opts()

opts() :: map()
Link to this type

url()

url() :: String.t()

Link to this section Callbacks

Link to this callback

filter(url, opts)

filter(url(), opts()) :: {:ok, boolean()} | {:error, term()}