我试图运行以下代码来刮擦标题为“ Advanced”的表,其ID也被指定为“ advanced”:
url <- paste0("https://www.basketball-reference.com/teams/GSW/2016.html")
webpage <- read_html(url)
col_names <- webpage %>%
html_nodes("table#advanced")
但是,当我运行此代码并尝试打印col_names
时,会收到以下值:{xml_nodeset (0)}
。如何正确刮我想要的桌子?