get_robotstxt_http_get: storage for http request response objects

Description Usage Arguments Format

View source: R/get_robotstxt_http_get.R

Description

storage for http request response objects

get_robotstxt() worker function to execute HTTP request

Usage

1
2
3
4
5
6
7
rt_last_http

get_robotstxt_http_get(
  domain,
  user_agent = utils::sessionInfo()$R.version$version.string,
  ssl_verifypeer = 1
)

Arguments

domain

the domain to get tobots.txt. file for

user_agent

the user agent to use for HTTP request header

ssl_verifypeer

analog to CURL option https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html – and might help with robots.txt file retrieval in some cases

Format

An object of class environment of length 1.


robotstxt documentation built on Sept. 4, 2020, 1:08 a.m.