I am trying to webscrape the competition table from following page
https://www.nrl.com/ladder/?competition=111&round=27&season=2023
I have used the following but returns a NULL result
url <- paste0("https://www.nrl.com/ladder/?competition=111&round=27&season=2023")
page <- read_html(url)
contentnodes <-page %>% html_nodes ("div.vue-ladder") %>%
html_attr("q-data") %>% jsonlite::fromJSON()
Could someone show me what I am missing please? Thanks in advance
It looks it is just the matter of selecting the correct div node.
Try this: