I'm trying to scrape publicly visible slot information from this page:
https://www.slotsonlinecanada.com/
For example, I would like to extract information such as slot names, RTP, software/provider, volatility and links to the individual slot pages.
I initially tried using rvest:
library(rvest)
url <- "https://www.slotsonlinecanada.com/"
page <- read_html(url)
tables <- page |>
html_elements("table") |>
html_table(fill = TRUE)
print(tables)
However, the HTML returned by the request doesn't appear to contain the normal page content. Instead, the response contains a JavaScript/robot verification message.
I also tried looking for the slot links directly:
library(rvest)
library(dplyr)
page <- read_html("https://www.slotsonlinecanada.com/")
links <- page |>
html_elements("a") |>
tibble(
text = html_text2(.),
href = html_attr(., "href")
)
print(links)
What I'm trying to understand is:
Is the slot/game data loaded through an underlying JSON, AJAX or WordPress API endpoint that I can query directly?
How can I identify that endpoint using the browser's Network tools?
If the content is rendered client-side, what would be the appropriate way to retrieve the publicly visible data in R?
Once retrieved, how could I convert fields such as slot name, RTP, provider and URL into a data frame?
I'm not looking to bypass authentication or access private data — I only want to retrieve information that is publicly displayed on the website.