crawlie v0.1.1 Crawlie.Options

Summary

Functions

The default options set by Crawlie. If you set your own values in Crawlie.crawl/3, they will override the defaults

Returns the passed-in options merged with the defaults

Returns the options with Crawlie.HttpClient.MockClient set as the HTTP client

Functions

defaults()
defaults() :: Keyword.t

The default options set by Crawlie. If you set your own values in Crawlie.crawl/3, they will override the defaults.

with_defaults(options)
with_defaults(Keyword.t) :: Keyword.t

Returns the passed-in options merged with the defaults.

The provided options take precedence over the defaults if there are any common keys.

with_mock_client(options)
with_mock_client(Keyword.t) :: Keyword.t

Returns the options with Crawlie.HttpClient.MockClient set as the HTTP client.