problem with Web Scraping

hello

I have been trying to get data from https://nonfungible.com/market/history/decentraland?filter=nftTicker%3DLAND&filter=saleType%3Dsecondary&filter=blockTimestamp%3D2019-03-01%2C2021-03-18&length=10&sort=blockTimestamp%3Ddesc&start=70

I tried to select Asset ID with this code

library(rvest)
library(dplyr)

link = "https://nonfungible.com/market/history/decentraland?filter=nftTicker%3DLAND&filter=saleType%3Dsecondary&filter=blockTimestamp%3D2019-03-01%2C2021-03-18&length=10&sort=blockTimestamp%3Ddesc&start=70"
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.