Port no longer operating as expected, every download quits with: ERROR: Unable to extract uploader id;
youtube-dl has not seen any activity in over a year and appears to be abandoned. yt-dlp is an almost drop-in replacement for youtube-dl and is getting regular updates: last updated on March 3, 2023. The only significant change is the default configuration file is the default configuration file is now ~/.config/ty-dlp. This is important as configuration options have been enhanced and some old options need to be tweaked and new options are available, some replacing incompatible older ones. yt-dlp is a fork of youtube-dlc which was a fork of youtube-dl.
Yes, at this time it is probably safe to assume that youtube_dl is deprecated, and yt-dlp is the way forward. I'll mark it deprecated.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0fac1c51b38ce8632910e3dec41e13d3d5ffa60f commit 0fac1c51b38ce8632910e3dec41e13d3d5ffa60f Author: Thomas Zander <riggs@FreeBSD.org> AuthorDate: 2023-03-12 12:08:22 +0000 Commit: Thomas Zander <riggs@FreeBSD.org> CommitDate: 2023-03-12 12:13:40 +0000 www/youtube_dl: Mark DEPRECATED Rationale: Unmaintained upstream, has not seen updates since 2021, and does not work anymore for many of the intended use cases. There is an up-to-date fork www/yt-dlp to serve those cases better. PR: 270108 www/youtube_dl/Makefile | 3 +++ 1 file changed, 3 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f38c599f9ba66af1ff65009808e4ce84be464722 commit f38c599f9ba66af1ff65009808e4ce84be464722 Author: Thomas Zander <riggs@FreeBSD.org> AuthorDate: 2023-03-20 21:19:02 +0000 Commit: Thomas Zander <riggs@FreeBSD.org> CommitDate: 2023-03-20 21:31:44 +0000 www/youtube_dl: Un-deprecate port, update to recent upstream snap Details: - Rework the port to fetch from GitHub per repo hash instead of releases. - Rationale: Upstream does not seem to publish releases anymore, but continues development on git HEAD. PR: 270108 www/youtube_dl/Makefile | 18 +++++++----------- www/youtube_dl/distinfo | 6 +++--- www/youtube_dl/files/patch-Makefile | 22 +++++----------------- 3 files changed, 15 insertions(+), 31 deletions(-)