Downloading Playlists with yt-dlp from FreeTube

Export Playlists

Export all Playlists from the "Data Settings"

Extract list of video ids from .db file with jq

jq "select(.playlistName==\"PLAYLIST\")" | .videos | map(.videoId) | .[]" freetube-playlists-file.db > playlist.txt

Download videos with yt-dlp with "ytsearch"

yt-dlp -a playlist.txt --default-search ytsearch

Original document at gemini://blog.dweipert.de/en/2024/downloading-playlists-with-ytdl-from-freetube.gmi