Agree modification of session path with the host

nod(bow, path, verbose = FALSE)

Arguments

bow

object of class polite, session created by polite::bow()

path

string value of path/URL to follow. The function accepts either a path (string part of URL following domain name) or a full URL

verbose

TRUE/FALSE

Value

object of class polite, session with modified URL

Examples

# \donttest{ library(polite) host <- "https://www.cheese.com" session <- bow(host) %>% nod(path="by_type") session
#> <polite session> https://www.cheese.com/by_type #> User-agent: polite R package - https://github.com/dmi3kno/polite #> robots.txt: 0 rules are defined for 1 bots #> Crawl delay: 5 sec #> The path is scrapable for this user-agent
# }