diff options
Diffstat (limited to 'en/2024/downloading-playlists-with-ytdl-from-freetube.gmi')
-rw-r--r-- | en/2024/downloading-playlists-with-ytdl-from-freetube.gmi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/en/2024/downloading-playlists-with-ytdl-from-freetube.gmi b/en/2024/downloading-playlists-with-ytdl-from-freetube.gmi new file mode 100644 index 0000000..a6afe01 --- /dev/null +++ b/en/2024/downloading-playlists-with-ytdl-from-freetube.gmi @@ -0,0 +1,18 @@ +# 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 +``` |