View Source treewalker_crawler_config (treewalker v0.4.1)
Link to this section Summary
Link to this section Types
-opaque config()
-type depth() :: non_neg_integer().
-type fetcher() :: module().
-type fetcher_options() :: treewalker_fetcher:options().
-type link_filter() :: module().
-type scraper() :: module().
-type scraper_options() :: treewalker_scraper:options().
-type store() :: module().
-type store_options() :: treewalker_store:options().
-type url() :: treewalker_page:url().
-type user_agent() :: binary().
Link to this section Functions
-spec fetcher_options(config()) -> fetcher_options().
-spec fetcher_options(fetcher_options(), config()) -> config().
-spec init() -> config().
-spec link_filter(config()) -> link_filter().
-spec link_filter(link_filter(), config()) -> config().
-spec scraper_options(config()) -> scraper_options().
-spec scraper_options(scraper_options(), config()) -> config().
-spec store_options(config()) -> store_options().
-spec store_options(store_options(), config()) -> config().
-spec user_agent(config()) -> binary().