- Obtain
client_id
&client_secret
from console.developers.google.com - Goto developers.google.com/oauthplayground
- choose the Drive v3 scope
- click settings, select Use your own OAuth credentials
- Enter
client_id
&client_secret
- Click authorize apis and complete the process
- Obtain the
refresh_token
- Update system then install ffmpeg & all the dependencies
sudo apt update
sudo apt install ffmpeg
npm install @discordjs/collection ytdl-core youtube-sr googleapis fluent-ffmpeg
- Fill in everything in
playlist-download.js