Description Usage Arguments Value Examples
Save the links in a url in perma.cc or Wayback.
1 | archiv.fromUrl(url, method = "wayback", except = NULL)
|
url |
The url to extract links from. |
method |
Either "wayback," "perma_cc" or "both". |
except |
A regular expression for URLs to exclude from extraction |
a dataframe containing the url, availability, archived url(s) and timestamp(s)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Wayback
archivedURLs <- archiv.fromUrl(
"https://www-cs-faculty.stanford.edu/~knuth/retd.html",
except="validator\\.w3\\.org"
)
#perma.cc
set_api_key("API KEY")
set_folder_id("42")
archivedURLs <- archiv.fromUrl(
"https://www-cs-faculty.stanford.edu/~knuth/retd.html",
method="perma_cc"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.