summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-10-17 12:45:57 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-10-17 12:45:57 +0200
commit02ec495de1466b6c3cfbd5a9c3edaa2d2744b033 (patch)
tree1fe7fe8496c5f5396f90462fb7069ffbc832afb2
parent5352c4c4778ff57dff0180ca4e233d3e733fe8dd (diff)
downloading-playlists-with-ytdl-from-freetubeHEADmain
-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