class Squirm::RequestFilters::Robots

Defined in:

squirm/request_filters/robots.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Instance methods inherited from class Squirm::RequestFilters::Base

valid?(request : Request, spider : Spider) : Bool valid?

Constructor Detail

def self.new(base_url : String, user_agent : String) #

[View source]

Instance Method Detail

def parser : ::Robots::Parser #

[View source]
def valid?(request : Request, spider : Spider) : Bool #

[View source]