summaryrefslogtreecommitdiff
path: root/en/2024/downloading-playlists-with-ytdl-from-freetube.gmi
blob: a6afe0139eef1ac3eff747efc16b678b6219c7c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
```