-
Notifications
You must be signed in to change notification settings - Fork 637
Open
Description
Description
Since recently, yt-dlp pulls in a javascript engine to download Youtube videos. By default it uses deno for this. The profile for yt-dlp needs access to deno if installed for javascript.
Steps to Reproduce
firejail yt-dlp URL-HERE
Expected behavior
No warnings
Actual behavior
WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS for details on installing one
Environment
Arch Linux, latest everything
Checklist
- I am using firejail 0.9.76 or later
- I am using the full program path (e.g.
firejail /usr/bin/vlcinstead offirejail vlc; seehttps://github.com/netblue30/firejail/issues/2877) - The issues is caused by firejail (i.e. running the program by path (e.g.
/usr/bin/vlc) "fixes" it). - I can reproduce the issue without custom modifications (e.g. globals.local).
- The program has a profile. (If not, request one in
https://github.com/netblue30/firejail/issues/1139) - The profile (and redirect profile if exists) hasn't already been fixed upstream.
- I have performed a short search for similar issues (to avoid opening a duplicate).
- I'm aware of
browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.
- I'm aware of
- I used
--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)
Metadata
Metadata
Assignees
Labels
No labels