Learn R Programming

robotstxt (version 0.4.1)

get_robotstxt: downloading robots.txt file

Description

downloading robots.txt file

Usage

get_robotstxt(domain, warn = TRUE, force = FALSE, user_agent = NULL)

Arguments

domain

domain from which to download robots.txt file

warn

warn about being unable to download domain/robots.txt because of

force

if TRUE instead of using possible cached results the function will re-download the robotstxt file HTTP response status 404. If this happens,

user_agent

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