Rvest scraping result is empty list -
i've simple question: tried scrape odds webpage result blank list
library(rvest) url<- 'http://www.betexplorer.com/soccer/italy/serie-a-2016-2017/' html <- read_html(url) odds <- html_nodes(html, '.table-matches__odds , .colored span') odds <- html_text(odds)
also tried use xpath instead of css selector had same result.
library(rvest) url<- 'http://www.betexplorer.com/soccer/italy/serie-a-2016-2017/' html <- read_html(url) odds <- html_nodes(html, xpath='//*[contains(concat( " ", @class, " " ), concat( " ", "table-matches__odds", " " ))]') odds <- html_text(odds)
Comments
Post a Comment