It could help you scan all playlist information and generate friendly markdown table, look like below. if you want to use cli mode, you could go here.
- You could choose get all playlist or only one.
change | version |
---|---|
Fixed content include special word | 1.4.3 |
- node 8.x.x
npm i youtube-playlist-markdown --save
First, you need to get your API key, if you don't know how to do, maybe this video could help you.
how to create YouTube API Key 2019 - YouTube
then
const YoutubePlaylistMarkdown = require('youtube-playlist-markdown');
const config = {
"GOOGLE_API_KEY": "========== YOUR_GOOGLE_API_KEY =========="
};
let ypm = new YoutubePlaylistMarkdown(config);
const playlistId = 'PLrG78JjvL7hWqX2FW54Ck8UP45fbWQXcu';
ypm.generatorPlaylist(playlistId);
const channelId = 'UCJi9ZAuo99MqMuJUXiJjpsA';
ypm.generatorAll(channelId);
MIT © alincode