Fedora Account System
Red Hat Associate
Red Hat Customer
Google YouTube recently(?) started annoying with some JavaScript requirement. Reproducible: Always Steps to Reproduce: 1. yt-dlp -F https://www.youtube.com/watch?v=DR1pS0Q1Fkc Actual Results: [youtube] [jsc:node] Solving JS challenges using node WARNING: [youtube] [jsc] Remote component challenge solver script (node) was skipped. It may be required to solve JS challenges. You can enable the download with --remote-components ejs:github (recommended). For more information and alternatives, refer to https://github.com/yt-dlp/yt-dlp/wiki/EJS WARNING: [youtube] DR1pS0Q1Fkc: n challenge solving failed: Some formats may be missing. Ensure you have a supported JavaScript runtime and challenge solver script distribution installed. Review any warnings presented before this message. For more details, refer to https://github.com/yt-dlp/yt-dlp/wiki/EJS WARNING: Only images are available for download. use --list-formats to see them [info] Available formats for DR1pS0Q1Fkc: ID EXT RESOLUTION FPS │ PROTO │ VCODEC MORE INFO ──────────────────────────────────────────────────── sb3 mhtml 48x27 0 │ mhtml │ images storyboard sb2 mhtml 80x45 0 │ mhtml │ images storyboard sb1 mhtml 160x90 0 │ mhtml │ images storyboard sb0 mhtml 320x180 0 │ mhtml │ images storyboard Expected Results: [youtube] [jsc:node] Solving JS challenges using node [youtube] DR1pS0Q1Fkc: Downloading m3u8 information [info] Available formats for DR1pS0Q1Fkc: ID EXT RESOLUTION FPS HDR CH │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── sb3 mhtml 48x27 0 │ mhtml │ images storyboard sb2 mhtml 80x45 0 │ mhtml │ images storyboard sb1 mhtml 160x90 0 │ mhtml │ images storyboard sb0 mhtml 320x180 0 │ mhtml │ images storyboard 249 webm audio only 2 │ 23.66MiB 54k https │ audio only opus 54k 48k low, webm_dash 250 webm audio only 2 │ 31.46MiB 72k https │ audio only opus 72k 48k low, webm_dash 140 m4a audio only 2 │ 56.47MiB 129k https │ audio only mp4a.40.2 129k 44k medium, m4a_dash 251 webm audio only 2 │ 60.84MiB 139k https │ audio only opus 139k 48k medium, webm_dash 91 mp4 256x144 30 │ ~ 95.85MiB 220k m3u8 │ avc1.4D400C mp4a.40.5 160 mp4 256x144 30 │ 32.56MiB 75k https │ avc1.4d400c 75k video only 144p, mp4_dash 278 webm 256x144 30 │ 40.57MiB 93k https │ vp9 93k video only 144p, webm_dash 330 webm 256x144 60 10 │ 79.97MiB 183k https │ vp9.2 183k video only 144p60 HDR, webm_dash 694 mp4 256x144 60 10 │ 53.16MiB 122k https │ av01.0.00M.10 122k video only 144p60 HDR, mp4_dash 92 mp4 426x240 30 │ ~197.86MiB 454k m3u8 │ avc1.4D4015 mp4a.40.5 133 mp4 426x240 30 │ 76.78MiB 176k https │ avc1.4d4015 176k video only 240p, mp4_dash 242 webm 426x240 30 │ 73.42MiB 168k https │ vp9 168k video only 240p, webm_dash 331 webm 426x240 60 10 │ 186.26MiB 427k https │ vp9.2 427k video only 240p60 HDR, webm_dash 695 mp4 426x240 60 10 │ 113.97MiB 261k https │ av01.0.01M.10 261k video only 240p60 HDR, mp4_dash 93 mp4 640x360 30 │ ~471.92MiB 1082k m3u8 │ avc1.4D401E mp4a.40.2 134 mp4 640x360 30 │ 159.10MiB 365k https │ avc1.4d401e 365k video only 360p, mp4_dash 18 mp4 640x360 30 2 │ 179.82MiB 412k https │ avc1.42001E mp4a.40.2 22k 360p 243 webm 640x360 30 │ 142.77MiB 327k https │ vp9 327k video only 360p, webm_dash 332 webm 640x360 60 10 │ 426.58MiB 978k https │ vp9.2 978k video only 360p60 HDR, webm_dash 696 mp4 640x360 60 10 │ 241.83MiB 554k https │ av01.0.04M.10 554k video only 360p60 HDR, mp4_dash 94 mp4 854x480 30 │ ~728.69MiB 1671k m3u8 │ avc1.4D401F mp4a.40.2 135 mp4 854x480 30 │ 325.86MiB 747k https │ avc1.4d401f 747k video only 480p, mp4_dash 244 webm 854x480 30 │ 259.75MiB 596k https │ vp9 596k video only 480p, webm_dash 333 webm 854x480 60 10 │ 829.55MiB 1902k https │ vp9.2 1902k video only 480p60 HDR, webm_dash 697 mp4 854x480 60 10 │ 473.95MiB 1087k https │ av01.0.05M.10 1087k video only 480p60 HDR, mp4_dash 136 mp4 1280x720 30 │ 690.89MiB 1584k https │ avc1.64001f 1584k video only 720p, mp4_dash 247 webm 1280x720 30 │ 544.46MiB 1248k https │ vp9 1248k video only 720p, webm_dash 300 mp4 1280x720 60 │ ~ 2.03GiB 4769k m3u8 │ avc1.640020 mp4a.40.2 298 mp4 1280x720 60 │ 945.73MiB 2168k https │ avc1.640020 2168k video only 720p60, mp4_dash 302 webm 1280x720 60 │ 843.79MiB 1935k https │ vp9 1935k video only 720p60, webm_dash 334 webm 1280x720 60 10 │ 1.88GiB 4416k https │ vp9.2 4416k video only 720p60 HDR, webm_dash 698 mp4 1280x720 60 10 │ 1.37GiB 3227k https │ av01.0.08M.10 3227k video only 720p60 HDR, mp4_dash 301 mp4 1920x1080 60 │ ~ 3.18GiB 7473k m3u8 │ avc1.64002A mp4a.40.2 299 mp4 1920x1080 60 │ 1.76GiB 4127k https │ avc1.64002a 4127k video only 1080p60, mp4_dash 303 webm 1920x1080 60 │ 1.28GiB 2999k https │ vp9 2999k video only 1080p60, webm_dash 335 webm 1920x1080 60 10 │ 2.90GiB 6800k https │ vp9.2 6800k video only 1080p60 HDR, webm_dash 699 mp4 1920x1080 60 10 │ 2.15GiB 5047k https │ av01.0.09M.10 5047k video only 1080p60 HDR, mp4_dash 308 webm 2560x1440 60 │ 3.81GiB 8942k https │ vp9 8942k video only 1440p60, webm_dash 336 webm 2560x1440 60 10 │ 6.87GiB 16138k https │ vp9.2 16138k video only 1440p60 HDR, webm_dash 700 mp4 2560x1440 60 10 │ 5.94GiB 13950k https │ av01.0.12M.10 13950k video only 1440p60 HDR, mp4_dash 315 webm 3840x2160 60 │ 7.70GiB 18068k https │ vp9 18068k video only 2160p60, webm_dash 337 webm 3840x2160 60 10 │ 11.29GiB 26509k https │ vp9.2 26509k video only 2160p60 HDR, webm_dash 701 mp4 3840x2160 60 10 │ 10.46GiB 24556k https │ av01.0.13M.10 24556k video only 2160p60 HDR, mp4_dash 702 mp4 7680x4320 60 10 │ 21.05GiB 49417k https │ av01.0.17M.10 49417k video only 4320p60 HDR, mp4_dash Additional Information: It is enough to: dnf copr enable nucleo/yt-dlp-ejs dnf install yt-dlp-ejs nodejs yt-dlp: add option --js-runtimes node
Thanks for the report. This is a known issue. See <https://bugzilla.redhat.com/show_bug.cgi?id=2405578#c4>, and in the future, please check existing bug reports first. *** This bug has been marked as a duplicate of bug 2405578 ***