View Source Crawler.Dispatcher (Crawler v1.5.0)

Dispatches requests to a queue for crawling.

Summary

Functions

Takes the request argument which is a tuple containing either

Functions

Takes the request argument which is a tuple containing either:

  • {_, link, _, url} when it's a link that got transformed into a URL
  • {_, url} when it's a URL already

And issues Crawler.crawl/2 to initiate the crawl.