news.volyx.in

Yt-dlp: External JavaScript runtime now required for full YouTube support (github.com)

1106 points by bertman · 254 days ago · 627 comments on HN

Article summary

The yt-dlp project, a command-line video downloader, now requires an external JavaScript runtime to fully support downloading from YouTube. This change is due to YouTube's increasing reliance on JavaScript, making it necessary for yt-dlp to use a JavaScript runtime to access video data. The project recommends using Deno, Node, QuickJS, or Bun as the JavaScript runtime. YouTube support without a JavaScript runtime is now considered deprecated and may not work as expected.

Main themes

  • YouTube download support
  • JavaScript runtime requirement
  • Browser vs native app
  • Content accessibility
  • DRM and encryption
  • Tech industry trends

What commenters say

  • YouTube's web app is buggy and prone to errors, making it difficult to use on certain devices.
  • The shift towards native apps and away from browser-based access may be an attempt to control and restrict content access.
  • The use of external JavaScript runtimes is a necessary step for yt-dlp to continue supporting YouTube downloads, but it may not be a long-term solution.
  • The trend towards proprietary technologies and secure enclaves may be driven by a desire to restrict user freedom and control, rather than improve security.
  • The idea that laptops and browsers will become obsolete and YouTube will drop support for them is unlikely and unrealistic.
  • The increasing reliance on mobile devices and native apps may lead to a decrease in tech literacy and a loss of control for users.
  • The use of browser-like access to download content may be vulnerable to authorization and encryption measures that can be implemented in native apps.
  • The push for native apps and secure technologies may be a way for companies to gain control over user behavior and restrict access to content.