You are not logged in.
The latest yt-dlp needs yt-dlp-ejs to work properly, otherwise it can't read all the format on YouTube.
Offline
https://archlinux.org/packages/extra/any/yt-dlp/ has deno as hard dependency (sigh) so this should™ absolutely not be required also please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What formats do and don't you get for what specific yt-dlp invocation of what exact yt-dlp version?
Offline
It still needs to download yt-dlp-ejs using:
--remote-components COMPONENT Remote components to allow yt-dlp to fetch
when required. This option is currently not
needed if you are using an official
executable or have the requisite version of
the yt-dlp-ejs package installed. You can
use this option multiple times to allow
multiple components. Supported values:
ejs:npm (external JavaScript components from
npm), ejs:github (external JavaScript
components from yt-dlp-ejs GitHub). By
default, no remote components are allowed Offline
yt-dlp-ejs was just added as a opt dep which requires deno
I Have Linux Perl Can i Download Gnome???
Offline
yt-dlp-ejs is also in the AUR. Isn't this a conflict? The same package in Extra and the AUR?
Last edited by TheCaRp (2025-11-13 14:34:09)
Offline
Yes, but this conflict was introduced by the addition to the repo.
AUR package still needs to go, did you file a request?
Offline
I did not.
Offline
Do you want to? ![]()
Offline
Request for deletion submitted.
Offline
Thank you.
Offline
Yup, that works just fine. I don't update as often as some do.
yt-dlp-2025.11.12-2-any.pkg.tar.zst
agent="Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_2 like Mac OS X) \
AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/131.0.6778.154 Mobile/15E148 Safari/604.1"
yt-dlp --user-agent "$agent" -F https://m.youtube.com/watch?v=saVjKQLXXQo
...
[youtube] saVjKQLXXQo: Downloading android sdkless player API JSON
[youtube] [jsc:deno] Solving JS challenges using deno
[info] Available formats for saVjKQLXXQo:
...I like it. That should make yt-dlp work. Until google changes something again.
Offline
Hi, I'm having issues finding the package yt-dlp-ejs-0.3.1-1, both on the extra repo and the AUR.
As an example, this mirror returns 404 Not Found, even though the package is listed if I search through the directory.
Offline
Offline
You don't have to have that installed for youtube though. For youtube deno will download
~/.cache/yt-dlp/challenge-solver/lib.json
And, that works.
Offline
I'm not up to date. I last updated Oct 12 2025.
I then installed deno with pacman -S on oct 23 to play with it.
Later, I got yt-dlp-2025.11.12-2-any.pkg.tar.zst package and installed it manually with pacman -U on Nov 13. Yes I know, that's a partial update.
And yt-dlp works fine with deno. I don't even have yt-dlp-ejs in my pacman database yet.
So, yt-dlp is not too picky about deno version it looks like.
I built yt-dlp-ejs from source to look at it and play with it.
It will fetch during the build, 198 json files to use.
If this info is of value to anyone.
Last edited by teckk (2025-11-21 21:21:56)
Offline