const puppeteer = require('puppeteer');
async function getChannels(){
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('https://www.youtube.com/user/########/channels');
const channels = await page.$eval('#title[class="style-scope ytd-grid-channel-renderer"]', (elem) => elem.innerText);
console.log(channels);
await browser.close();
}
getChannels();