Download all liked videos from youtube
- Have
yt-dlp
installed. - Be familiar with Google API console and know how to create project with credentials here
git clone https://github.com/anmiles/youtube-likes-downloader.git
cd youtube-likes-downloader
npm clean-install
npm run build
This application may work with multiple profiles (download videos liked from multiple youtube accounts).
- Come up with any profile name you want
- Execute
npm run create <profile>
You can create as many profiles as you want.
npm run login
to login into all existing profilesnpm run login <profile>
to login into selected profile
npm start
to download all liked videos for all profilesnpm start <profile>
will download all liked videos for selected profile
This will never re-download already download ones, just add newly liked ones. File names are being checked for validity (and renamed if needed).
- Automatic download by schedule
- Schedule task that will run
npm start
periodically
- Schedule task that will run
- Manual download
- Run
npm start
manually. If needed, it will interact with you to retrieve credentials if you still didn't runnpm run login
in advance
- Run
npm run check
to just validate all filenamesnpm run check <profile>
will validate all filenames for selected profile
npm run update
to update likes playlist with videos from likes filenpm run update <profile>
will update likes playlist for selected profile
Likes will be exported in reversed order because likes playlist is ordered "newest first". Existing likes won't be affected. This might be useful for copying likes from one profile to another:
- run
npm start <profile1>
to get likes imported from selected profile - copy likes file to another one using name of another profile
- run
npm run update <profile2>
to export likes into another profile