if ( # Check if the path is allowed for scraping (TRUE)
robotstxt::paths_allowed(
paths = c("/exercises/"),
domain = "bodybuilding.com",
bot = "*"
)) {
ExerciseDB <- scrapeExercises(pages = 73)
usethis::use_data(ExerciseDB, overwrite = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.