TracksLiked is a youtube-dl / yt-dlp wrapper , uses youtube data api v3 to query Liked playlist of account
has access to and then starts download all tracks/videos , as mp3 with best available quality ,
adding also meta data to mp3 such as thumbnail artists , song info and more..
Steps in tracksLiked:
git clone https://github.com/Kos-M/tracksLiked
cd tracksLiked ; npm i
cp env.sample .env
- Change .env default download location , to match your needs.
Steps in Google : You need to create your own app in google Cloud console.
- Start from this wizard: https://console.developers.google.com/start/api?id=youtube
- Login page
- Create Porject -> Choose name , and(or organization) -> Next -> Enable api
- Go to Credentials Page -> CREATE CREDENTIALS -> Oauth client ID -> configure consent screen
- Fill App information -> choose your email also in dev email enter yours.
- Add Or Remove Scopes -> select only ( YouTube Data API v3 .../auth/youtube.readonly View your YouTube account ) -> Update Here you can add more test users/emails if you wish
- Save and continue
After setup of OAuth consent screen Now we can create actual credentials
- click on Credentials tab above OAuth consent screen.
- CREATE CREDENTIALS -> Oauth client ID -> Web Application -> Create
- In Next Pop up click download json in project root dir as
client_secret.json
- Done > Run by
node index.js
ornpm start
Login page
Create Porject
Api Enabled
Go to Credentials Page
Select Scopes
Create Consent Screen
Save Credentials as client_secret.json