Extracts HTML comments (<!– comment –>) from a webpage. Useful for detecting hidden notes, debug info, or developer messages.
comments_scrap(link, askRobot = FALSE)
A character vector of HTML comments found on the page.
# \donttest{
link <- "https://example.com"
comments_scrap(link)
#> No HTML comments found.
#> [1] NA
# }