Search
Spec for defining a scraper.
@type body() :: String.t()
@type opts() :: map()
@type page() :: %Crawler.Store.Page{ body: body(), opts: opts(), processed: term(), url: url() }
@type url() :: String.t()
@callback scrape(page()) :: {:ok, page()}