-1

I want to make a small scrapper that would take all my words added to favorites in Yandex Translator. The problem is that if I go through Puppeteer transferring cookies, then everything is transferred except the favorites. And if you try to log in to my account via Google, it says that the browser is not secure. The actual question is: how to access this list of words through cookies, local storage or through full authorization?

On my account

On Puppeteer

Here's my code

import puppeteer from 'puppeteer';

import cookies from './translate.yandex.by.cookies.json' assert {type: 'json'}


const getTranslates = async () => {
  const browser = await puppeteer.launch({headless: false})
  const page = await browser.newPage()
  await page.setCookie(...cookies)
  await page.goto('https://translate.yandex.by')

  // await browser.close()
}

getTranslates();
Alexander
  • 9
  • 1

0 Answers0