summaryrefslogtreecommitdiff
path: root/assets/2026-01-30-yt-dlp-deno-requirement.md
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-30 15:26:56 -0600
committerCraig Jennings <c@cjennings.net>2026-01-30 15:26:56 -0600
commit1bca8a134da63dcaf31380b9dc11a4890e8302ab (patch)
treefde85d0f4abbc990597d48cf053c0bf13021a9b0 /assets/2026-01-30-yt-dlp-deno-requirement.md
parentc99fe3b11cd3abe4364cbdb1de03f8d1d2d99919 (diff)
feat(archsetup): add hyprland plugins and migrate yt-dlp to pipx
Add Hyprland plugin section with hyprpm for hyprscrolling, xtra-dispatchers, and hy3. Migrate yt-dlp from pacman to pipx for current releases. Add deno as required JS runtime for YouTube extraction.
Diffstat (limited to 'assets/2026-01-30-yt-dlp-deno-requirement.md')
-rw-r--r--assets/2026-01-30-yt-dlp-deno-requirement.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/assets/2026-01-30-yt-dlp-deno-requirement.md b/assets/2026-01-30-yt-dlp-deno-requirement.md
new file mode 100644
index 0000000..84e11fa
--- /dev/null
+++ b/assets/2026-01-30-yt-dlp-deno-requirement.md
@@ -0,0 +1,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