【发布时间】:2018-06-25 14:20:55
【问题描述】:
我正在使用带有以下代码的 rvest 包:
library(rvest)
url.tournament <- "https://www.whoscored.com/Regions/247/Tournaments/36/Seasons/5967/Stages/15737/Fixtures/International-FIFA-World-Cup-2018"
df.tournament <- read_html(url.tournament) %>%
html_nodes(xpath='//*[@id="tournament-fixture-wrapper"]') %>%
html_nodes("table")
html_table()
虽然没有提取任何元素。
【问题讨论】: