Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate youtube-dl for yt-dlp #432

Open
drjaska opened this issue Dec 11, 2023 · 2 comments
Open

Deprecate youtube-dl for yt-dlp #432

drjaska opened this issue Dec 11, 2023 · 2 comments

Comments

@drjaska
Copy link

drjaska commented Dec 11, 2023

youtube-dl project has mostly died and the development continues under a fork project yt-dlp. I would urge this project to migrate over.

[Even Debian has recognized this and deprecated youtube-dl for yt-dlp in latest Stable release, Debian 12.(https://www.debian.org/releases/bookworm/mips64el/release-notes/ch-information.en.html#youtube-dl)

youtube-dl (2021.12.17-2) unstable; urgency=low

  The youtube-dl project has been forked, and new development is
  happening under the yt-dlp project. We plan to completely remove
  the youtube-dl package after the Debian 12 (bookworm) release.

  For the bookworm release, we're turning youtube-dl into an empty
  package that depends on yt-dlp. Most package dependencies in Debian
  are already aware of yt-dlp and will happily use it if available. However,
  *USER SCRIPTS WILL BREAK AND NEED TO BE MANUALLY UPDATED BY ADMINS & USERS!*
  We are not providing any kind of wrapper script, symlink, or wrapper
  module due to behavioral changes and namespace issues between the two
  programs.

  In the vast majority of cases, you can simply replace "youtube-dl"
  with "yt-dlp" in scripts. However, if you were using a bunch of
  arguments, had config files, were using the downloaded files in other
  programs/scripts, or just want to revert behavior, be sure to read the
  yt-dlp man page section "Differences in default behavior". Passing the
  argument "--compat-options youtube-dl" to yt-dlp may be enough to
  revert behavior, but yt-dlp will still have some subtle differences.

  Be sure to test your scripts thoroughly with yt-dlp!

 -- Andres Salomon <[email protected]>  Tue, 03 Jan 2023 17:21:53 -0500
@xsdg
Copy link
Collaborator

xsdg commented Dec 13, 2023

This was already reported, but inside of a different issue, so thanks for creating a new issue for this. This is planned (but again, will need to wait until mkchromecast is back on a more solid foundation)

@drjaska
Copy link
Author

drjaska commented Feb 4, 2024

It would also be nice to get support for flags, currently I am overriding youtube-dl with this script in ~/bin/youtube-dl which is used instead of any system distributed youtube-dl executables because ~/bin is very early on in my PATH environment variable on Linux.

#!/bin/sh -eu

yt-dlp --sponsorblock-remove default "$@"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants