summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--en/2024/downloading-playlists-with-ytdl-from-freetube.gmi18
-rw-r--r--en/index.gmi6
2 files changed, 24 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
+```
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