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 ++++++++++++++++++ en/index.gmi | 6 ++++++ 2 files changed, 24 insertions(+) create mode 100644 en/2024/downloading-playlists-with-ytdl-from-freetube.gmi (limited to 'en') 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 +``` diff --git a/en/index.gmi b/en/index.gmi index 670e3c2..839ae3a 100644 --- a/en/index.gmi +++ b/en/index.gmi @@ -2,6 +2,7 @@ => / German version + ## Gemini => /en/2023/writing-a-gemini-server-in-php.gmi @@ -10,3 +11,8 @@ ## Gaming => /en/2024/battle-net-on-linux-with-steam-proton.gmi + + +## Data + +=> /en/2024/downloading-playlists-with-ytdl-from-freetube.gmi -- cgit v1.2.3