From 02ec495de1466b6c3cfbd5a9c3edaa2d2744b033 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 17 Oct 2024 12:45:57 +0200 Subject: downloading-playlists-with-ytdl-from-freetube --- .../downloading-playlists-with-ytdl-from-freetube.gmi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 en/2024/downloading-playlists-with-ytdl-from-freetube.gmi (limited to 'en/2024/downloading-playlists-with-ytdl-from-freetube.gmi') 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 +``` -- cgit v1.2.3