Learn R Programming

robotstxt (version 0.4.1)

paths_allowed: check if a bot has permissions to access page(s)

Description

wrapper to path_allowed

Usage

paths_allowed(paths = "/", domain = "auto", bot = "*",
  user_agent = NULL)

Arguments

paths

paths for which to check bot's permission, defaults to "/"

domain

Domain for which paths should be checked. Defaults to "auto". If set to "auto" function will try to guess the domain by parsing the paths argument. Note however, that these are educated guesses which might utterly fail. To be on the save side, provide appropriate domains manually.

bot

name of the bot, defaults to "*"

user_agent

HTTP user-agent string to be used to retrieve robots.txt file from domain

See Also

path_allowed