aboutsummaryrefslogtreecommitdiff
path: root/scripts/ytdlp_download.md
blob: 26821e193e61d967469d4bbf8e73ef73b668e014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# yt-dlp Media Downloader

Downloads media with yt-dlp.

Currently supported task kinds are `youtube`, `niconico` and `bilibili`.

The output directory is the tasks `output` data attribute which must be present.
Additional yt-dlp arguments are added based on the task's `profile` attribute.

## Configuration

- `ytdlp_download`
  - `profiles`: Map from profile name to list of arguments passed to yt-dlp.

Sample configuration:

```yaml
ytdlp_download:
    profiles:
        video:
            - -f
            - bestvideo+bestaudio
            - --embed-metadata
            - --remux=mkv
        audio:
            - -f
            - bestaudio
            - --embed-metadata
            - --remux=mka
```