Very simple template to download a twitch chat from a vod.
yarn
We use puppeteer to get the clientId so make sure you have puppeteer installed and configured correctly.
In app.ts
we run a function that downloads the chat it takes the vod id as a string
(async() =>{
await getChatFromTwitch("1698057203")
})()
ts-node app.ts
- To run the file