I want to parse data from site https://csfloat.com/search?def_index=4727 and i use puppeteer.
const puppeteer = require("puppeteer");
(async () => {
const browser = await puppeteer.launch({headless: false});
const page = await browser.newPage();
await page.goto("https://csfloat.com/search?def_index=4727");
let arr = await page.evaluate(() => {
let text = document.getElementsByClassName("price ng-star-inserted")
let array = []
for (let i = 0; i < text.length; i++) {
array.push(text[i].innerText)
}
console.log(array)
})
})()
But the problem is that when i run this script, it opens it’s own browser and open this page, where i am not authorized, so i cant parse data beacuse even if i paste my login and password, i have to confirm this in steam, so, how can i do this from my browser where i am authorized or how can i fix this problem, maybe another library???