I want to get “Diamond 3” text in https://valorantstats.xyz/stats/profile/ANC%20phrotex-rona?actId=all&gameMode=all. But, data is empty.
const id = modal.getTextInputValue('riotid')
const lasturl = id.replace(" ", "%20")
const lasturl1 = lasturl.replace("#", "-")
const url = `https://valorantstats.xyz/stats/profile/${lasturl1}?actId=all&gameMode=all`;
axios.get(url)
.then(response => {
const $ = cheerio.load(response.data);
const firstStatValue = $('.rank-name').first().text().trim();
console.log(firstStatValue)