Learn R Programming

robotstxt (version 0.1.2)

paths_allowed: check if a bot has permissions to access page

Description

wrapper to path_allowed

Usage

paths_allowed(permissions, paths = "/", bot = "*")

Arguments

permissions
data.frame generated by rt_get_permissions() with three columns: 'useragent' (name of the bot), 'permission' (permission granted: Disallow/Allow) and 'value' (path for which permission applies)
paths
paths for which to check bot's permission, defaults to "/"
bot
name of the bot, defaults to "*"

See Also

path_allowed