const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto(`https://www.rusprofile.ru/search?query=${encodeURI(query)}&type=${type || 'ul'}`, { waitUntil: 'domcontentloaded' });
const result = await page.evaluate(() => {
return document.querySelector('.main-wrap__content').innerHTML;
});
browser.close();
return result