sudo pkg upgrade yt-dlp
Updating FreeBSD repository catalogue…
Fetching packagesite.pkg: 100% 6 MiB 6.8MB/s 00:01
Processing entries: 100%
FreeBSD repository update completed. 32394 packages processed.
All repositories are up to date.
Checking integrity… done (0 conflicting)
Your packages are up to date.
[download] Downloading video 1 of 2246
[youtube] GER-j6mTs0U: Downloading webpage
[youtube] GER-j6mTs0U: Downloading android player API JSON
ERROR: [youtube] GER-j6mTs0U: Unable to extract uploader id; please report this issue on Issues · yt-dlp/yt-dlp · GitHub , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
l> yt-dlp -U
Latest version: 2023.02.17, Current version: 2022.11.11
ERROR: Please use the command ‘pkg upgrade yt-dlp’ to upgrade.
This is not a NomadBSD problem but a FreeBSD one.
The port www/yt-dlp is update at the last version in the port collection.
You can simply wait that the port is update in the pkg collection or compile the port yourself learning how at Using the Ports Collection
Yt download is not working because dependency PhantomJS is a deprecated project. As said in previous comment it does not work on FreeBSD or GhostBSD either.