Scrapes URL links from HTML source code

scrape_links(x, qs = TRUE, pat = ".")

Arguments

qs

Logical indicating whether to return query strings (part of URL starting with ?)

pat

Pattern from which only matching results should be returned. Defaults to ".", which matches everything.

rurl

URL to desired page. Should include scheme (http/https)

Value

Character vector of URLs.