sitemaps: Retrieve a character vector of sitemaps from a parsed...

View source: R/RcppExports.R

sitemapsR Documentation

Retrieve a character vector of sitemaps from a parsed robots.txt object

Description

Retrieve a character vector of sitemaps from a parsed robots.txt object

Usage

sitemaps(xp)

Arguments

xp

A robxp object

Value

charcter vector of all sitemaps found in the parsed robots.txt file

Examples

imdb <- paste0(readLines(system.file("extdata", "imdb-robots.txt",
               package="rep")), collapse="\n")
rt <- robxp(imdb)
sitemaps(rt)

spiderbar documentation built on Feb. 16, 2023, 7:39 p.m.