Bug 2440553

Summary: yt-dlp missing dependencies
Product: [Fedora] Fedora Reporter: Clodoaldo Pinto Neto <clodoaldo.pinto.neto>
Component: yt-dlpAssignee: Maxwell G <maxwell>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: maxwell, mikel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://github.com/yt-dlp/yt-dlp/issues/15988
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-02-18 22:26:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Clodoaldo Pinto Neto 2026-02-18 10:04:12 UTC
Now yt-dlp needs a JS runtime:

$ yt-dlp -vU -F --cookies-from-browser firefox https://www.youtube.com/watch?v=rkP_qm7xiyY
[debug] Command-line config: ['-vU', '-F', '--cookies-from-browser', 'firefox', 'https://www.youtube.com/watch?v=rkP_qm7xiyY']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable.04 from yt-dlp/yt-dlp [c677d866d]
[debug] Lazy loading extractors is disabled
[debug] Python 3.14.2 (CPython x86_64 64bit) - Linux-6.18.8-200.fc43.x86_64-x86_64-with-glibc2.42 (OpenSSL 3.5.4 30 Sep 2025, glibc 2.42)
[debug] exe versions: ffmpeg 7.1.2 (fdk,setts), ffprobe 7.1.2
[debug] Optional libraries: Cryptodome-3.23.0, brotli-1.2.0, certifi-2025.07.09, mutagen-1.47.0, requests-2.32.5, sqlite3-3.50.2, urllib3-2.6.3, websockets-15.0.1
[debug] JS runtimes: none

I installed the one available in the repos:

# dnf list node\*
Updating and loading repositories:
Repositories loaded.
Installed packages
nodejs.x86_64                         1:22.22.0-2.fc43          updates
nodejs-docs.noarch                    1:22.22.0-2.fc43          updates
nodejs-full-i18n.x86_64               1:22.22.0-2.fc43          updates
nodejs-libs.x86_64                    1:22.22.0-2.fc43          updates
nodejs-npm.x86_64                     1:10.9.4-1.22.22.0.2.fc43 updates

Then if it is run like this it works:

$ yt-dlp --remote-components ejs:github --js-runtimes node -vU -F --cookies-from-browser firefox https://www.youtube.com/watch?v=rkP_qm7xiy

I also created a configuration file with those options so I don't need to remember and type every time.

$ cat ~/.yt-dlp/config 
--remote-components ejs:github 
--js-runtimes node
--cookies-from-browser firefox

It took me some time to figure it all out.

Reproducible: Always

Comment 1 Maxwell G 2026-02-18 22:26:53 UTC
Hi, thank you for filing a report. Please see my comment at https://bugzilla.redhat.com/show_bug.cgi?id=2405578#c4. This is a known issue.

*** This bug has been marked as a duplicate of bug 2405578 ***