Export Twitch VODs to .mp4 using your Twitch client ID, Node.js and ffmpeg
- Node.js, v12.x or higher
- yarn package manager (
npm i -g yarn
) ffmpeg
binary, v4.1.x or higher, installed on local machine- A Twitch client ID. Set one up on the Twitch developers site 📗
- Only tested on Ubuntu 19.x, should work (at least) on MacOS as well, if not Windows
- Run
yarn
to install - Rename
.env.local.example
to.env.local
, provide your Twitch client ID - Run
node index.js [VOD_ID]
to download a VOD to thetmp/
dir
node index.js 457488243 # => download VOD parts, and then assemble into tmp/457488243.mp4