ReqCrawl

ReqCraw version Hex Docs Hex Downloads Twitter Follow

Req plugins to support common crawling functions

Right now this only consists of the ReqCrawl.Robots plugin to parse robots.txt files

Installation

def deps do
  [
    {:req_crawl, "~> 0.1.0"}
  ]
end

Plugins

ReqCrawl.Robots

A Req plugin to parse robots.txt files

You can attach this plugin to any %Req.Request you use for a crawler and it will only run against URLs with a path of /robots.txt.

It outputs a map with the following fields:

Options