Bug 270108 - www/youtube_dl : ERROR: Unable to extract uploader id;
Summary: www/youtube_dl : ERROR: Unable to extract uploader id;
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-11 12:54 UTC by O. Hartmann
Modified: 2023-03-20 21:32 UTC (History)
2 users (show)

See Also:
riggs: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2023-03-11 12:54:38 UTC
Port no longer operating as expected, every download quits with:

ERROR: Unable to extract uploader id;
Comment 1 rkoberman 2023-03-11 23:33:02 UTC
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.
Comment 2 Thomas Zander freebsd_committer freebsd_triage 2023-03-12 12:06:13 UTC
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.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-03-12 12:14:32 UTC
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(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-03-20 21:32:08 UTC
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(-)