Scraping website with pagination

Hello all. I'm trying to scrape a website with several pages, but I only get the first table.
This is the code:
url <- "Ranking de Ventas de las Empresas de madrid"
pagina <- read_html(url, as.data.frame=T, stringsAsFactors = TRUE)
pagina %>%
html_nodes("table") %>%

.[[1]] %>%

html_table(fill=T) -> x

The webpages, except the first, have this scheme http://www.infocif.es/ranking/ventas-empresas/madrid?pagina=* (* is a number for each one)
Thanks for any advice.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.