problem with Web Scraping

hello

I have been trying to get data from Decentraland | Market History and sales trends | NonFungible.com

I tried to select Asset ID with this code

library(rvest)
library(dplyr)

link = "Decentraland | Market History and sales trends | NonFungible.com"
page = read_html(link)

Asset= page %>% html_nodes(".dEXmFm:nth-child(2)") %>% html_text()
Asset

but I got

Asset
character(0)

any help or advice will be appreciated

Probably there is no such node .dEXmFm:nth-child(2) in html file. Looking on the source of the linked page it seems, that some parts of the style are generated dynamically, it might be difficult to scrap them.

Regards,
Grzegorz

1 Like

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.