tidyverse / rvest

Simple web scraping for R
https://rvest.tidyverse.org
Other
1.49k stars 341 forks source link

Apparent typo in `read_html_live()` docs #391

Closed MattCowgill closed 7 months ago

MattCowgill commented 7 months ago

The first (deliberately non-working) example in ?read_html_live is:

static <- read_html("https://www.forbes.com/top-colleges/")
sess %>% html_elements(".TopColleges2023_tableRow__BYOSU")

I believe the sess on the second line is intended to be static, to show that the elements cannot be retrieved from the static page.