Splinterlands Battle Result Information

in #splinterlands4 years ago

Hi All,

Looking for help with extracting out the summoner ID from Splinterlands.

The canvas section of the HTML within the div class 't1_portrait' contains the id or uid. I'll take help using puppeteer to extract the text.

Trying var summonerteam1 = await page.evaluate(() => (document.querySelectorAll('#t1_portrait')[0].innerHTML)); but this just isn't getting it right.

image.png