fix(linux): bundle Node.js 22 LTS for yt-dlp JS challenge solver
yt-dlp's EJS reports any Node.js < 22.0.0 as "(unsupported)" and disables
the node JS challenge provider (jsc/_builtin/node.py:
MIN_SUPPORTED_VERSION = (22, 0, 0)). The previously bundled node was v20,
so the YouTube nsig/signature solver silently degraded ("No supported
JavaScript runtime could be found"), and some videos/formats failed.
Download an official Node 22 LTS binary in linux.sh instead of the v20
asset from ffmpeg-builds. Verified: yt-dlp now reports
"JS runtimes: node-22.22.3" with the node challenge provider available.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
pull/435/head
parent
ff1ecf6f3c
commit
41d825f193
Loading…
Reference in New Issue