Download all video from a Youtube channel
ffmpeg and ffprobe must be installed on your system. Get them from here: https://ffmpeg.org/
Install dependencies with yarn:
yarn install
Add your Youtube Api Key in the api-key.js
file, like this:
module.exports = 'YOUR_YOUTUBE_API_KEY';
And run the script:
node youtube-channel-video.js CHANNEL_ID_OR_USERNAME
This will download all videos in a folder with channel name.
Usage of eslint to check the script file:
yarn eslint
- node-ytdl-core - youtube downloader in javascript
- request-promise - simplified HTTP request client
Under MIT License - LICENSE.md