blob: 84e11faeb2e72c05e81df412a9c4467f8dc771ce (
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
|
# Install deno for yt-dlp JavaScript runtime
## Problem
yt-dlp now requires a JavaScript runtime for full YouTube extraction. Without it, you get this warning:
```
WARNING: No supported JavaScript runtime could be found.
YouTube extraction without a JS runtime has been deprecated, and some formats may be missing.
```
## Solution
Install deno (the default supported runtime):
```bash
sudo pacman -S deno
```
## Why
YouTube uses JavaScript for some format extraction. Without a JS runtime, yt-dlp may not be able to access all video formats or could fail on certain videos.
See: https://github.com/yt-dlp/yt-dlp/wiki/EJS
|