const { Innertube } = require('youtubei.js'); const util = require('util'); async function test() { const youtube = await Innertube.create({ lang: 'tr', location: 'TR' }); const videoId = 'ix8cLltPCCE'; const commentThread = await youtube.getComments(videoId); if (commentThread.contents && commentThread.contents.length > 0) { const thread = commentThread.contents.find(t => t.has_replies); if (thread) { console.log('replies:', util.inspect(thread.replies, {depth: null})); console.log('comment_replies_data:', util.inspect(thread.comment_replies_data, {depth: null})); } } } test().catch(console.error);