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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -