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,, stringsAsFactors = TRUE)
pagina %>%
html_nodes("table") %>%

.[[1]] %>%

html_table(fill=T) -> x

The webpages, except the first, have this scheme* (* is a number for each one)
Thanks for any advice.