Yt-dlp: External JavaScript runtime now required for full YouTube support

2025-11-1210:121106628github.com

This is a follow-up to #14404, which announced that yt-dlp will soon require an external JavaScript runtime (e.g. Deno) in order to fully support downloading from YouTube. With the release of yt-dl...

@bashonly
@bashonly

This is a follow-up to #14404, which announced that yt-dlp will soon require an external JavaScript runtime (e.g. Deno) in order to fully support downloading from YouTube.

With the release of yt-dlp version 2025.11.12, external JavaScript runtime support has arrived.

All users who intend to use yt-dlp with YouTube are strongly encouraged to install one of the supported JS runtimes.

The following JavaScript runtimes are currently supported (in order of recommendation, from strongest to weakest):

Note that only deno is enabled by default; all others are disabled by default for security reasons. See the EJS wiki page for more details.

In addition to the JavaScript runtime, yt-dlp also requires the yt-dlp-ejs component in order to operate the JS runtime.

NOTE: This component is already included in all of the official yt-dlp executables.
Similarly, if you've installed & upgraded the yt-dlp Python package with the default extra (yt-dlp[default]), then you already have the yt-dlp-ejs component.

If you've installed yt-dlp another way, then please refer to section 2 of the EJS wiki page for more details.

Support for YouTube without a JavaScript runtime is now considered "deprecated." It does still work somewhat; however, format availability will be limited, and severely so in some cases (e.g. for logged-in users). Format availability without a JS runtime is expected to worsen as time goes on, and this will not be considered a "bug" but rather an inevitability for which there is no solution. It's also expected that, eventually, support for YouTube will not be possible at all without a JS runtime.

If you have questions, please refer to the EJS wiki page, the previous announcement's FAQ, and the README before commenting or opening a new issue:

Notes to package maintainers

If you are maintaining a downstream package of yt-dlp, we offer the following guidance:

  • The yt-dlp repository, source tarball, PyPI source distribution and built distribution (wheel) are still licensed under The Unlicense (public domain); however, when the yt-dlp-ejs package is built, it bundles code licensed under ISC and MIT. This is the primary reason why yt-dlp-ejs was split off into a separate repository and PyPI package

  • If yt-dlp is packaged as a Python package in your repository, yt-dlp-ejs would ideally be packaged separately

  • yt-dlp-ejs is technically an optional Python dependency of yt-dlp, but YouTube support is deprecated without it

  • Each version of yt-dlp will be pinned to a specific version of yt-dlp-ejs and yt-dlp will reject any other yt-dlp-ejs version. Refer to yt-dlp's pyproject.toml for the pinned version

  • If your repository packages yt-dlp as the zipimport binary instead of as a Python package, you can use make yt-dlp-extra to build the zip executable with yt-dlp-ejs included. (The Makefile will look for the yt-dlp-ejs wheel in the build subdirectory, or the extracted built distribution in the yt_dlp_ejs subdirectory)

  • deno, nodejs, quickjs and/or bun should be optional dependencies of yt-dlp. But again, YouTube support is deprecated without one of them

  • While yt-dlp-ejs and the external JavaScript runtimes are currently only used with YouTube, yt-dlp's usage of these may be expanded in the future (and necessarily so)

If this guidance is insufficient, or if you are a developer integrating yt-dlp into your software and you have further questions, please open a new GitHub issue.

sovalyeler, liamengland1, pha1n0q, onmyouji, serdarth and 28 morepha1n0q, onmyouji, DianaNites, mateusneresrb, brandongalbraith and 13 moreCetaceanNation, KeepBotting, Armster15, pointydev, Dvd-Znf and 16 moreDvd-Znf, pha1n0q, DianaNites, mateusneresrb, brandongalbraith and 6 more


Read the original article

Comments

  • By embedding-shape 2025-11-1214:068 reply

    Seems its already in Arch's repositories, and seems to work, just add another flag to the invocation:

        yt-dlp --cookies-from-browser firefox --remote-components ejs:github -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" 'https://www.youtube.com/watch?v=XXX'
    
    It is downloading a solver at runtime, took maybe half a second in total, downloads are starting way faster than before it seems to me.

        [youtube] [jsc:deno] Solving JS challenges using deno
        [youtube] [jsc:deno] Downloading challenge solver lib script from  https://github.com/yt-dlp/ejs/releases/download/0.3.1/yt.solver.lib.min.js
    
    It would be great if we could download the solver manually with a separate command, before running the download command, as I'm probably not alone in running yt-dlp in a restricted environment, and being able to package it up together with the solver before runtime would let me avoid lessening the restrictions for that environment. Not a huge issue though, happy in general the start of downloads seems much faster now.

    • By WD-42 2025-11-1214:597 reply

      Glad to hear it’s faster now!

      YouTube barely works in a full-on browser these days, props to the team that keeps it accessible via a Python script!

      • By recursive 2025-11-1215:589 reply

        I use YouTube on a daily basis. I haven't seen any of these problems.

        • By PuercoPop 2025-11-1218:219 reply

          It is likely you use Chrome or a browser that uses Blink for its engine and the OP uses a non-blink browser like Firefox. I use Firefox and I can cofirm since the last few months Youtube usability borders on usable

          • By jorvi 2025-11-1220:297 reply

            They've also started to be really aggressive against VPNs. I've tried Private Internet Access, Mulvad and AirVPN and often I have to cycle through 5-15(!) servers before YouTube stops saying "sign in to confirm you're not a bot".

            Discord has started to become absurdly aggressive with it too, to the point that they don't even let you load messages whilst logged in if you're on a VPN.

            It really makes me feel like there will be an inflection point in a few years, where the internet is cleaved in two. You'll have the 'free' internet that is full of interesting stuff but also full of malware, spam and scams, and you'll have the squeaky clean corporate internet, basically a facsimile of WeChat's super-app, of which you'll only have access with a government ID. No VPNs or anti-fingerprinting allowed.

            • By SchemaLoad 2025-11-131:35

              Almost everything blocks you on a VPN until you sign in now. AI scrapers were the final nail in the coffin.

            • By Eduard 2025-11-1222:57

              > It really makes me feel like there will be an inflection point in a few years, where the internet is cleaved in two.

              Hasn't it been like that for already many years?

              arguably, already 90's AOL very much pushed its users to stay within its walled garden.

            • By mikestorrent 2025-11-130:301 reply

              100%. Web Credentials + Digital ID + age verification will all be handled with Secure Attestation backing it. Cloudflare will have a checkbox for site admins... [X] Require Age Verification... and that's it. Boom. Your site is "safe" from accidentally allowing kids in.

              ...of course, free speech and anonymity die with this, but why would that be a problem? You don't want to say anything the current or potential future government wouldn't like, do you?

              • By hhh 2025-11-136:551 reply

                Free speech doesn't die with this. Host your own site.

                • By mafuy 2025-11-1313:431 reply

                  The year is 2041. Google announces that only a negligible fraction of users acceses websites outside of the clean pool. These users are at risk, they claim, due to "all the bad stuff on the free web". They refuse to clarify if this refers to malware or to content not aligned with The Party doctrine. However, they draw the consequence that "free web" sites will no longer be supported by Chrome, to protect the users. Less than an hour later, Mozilla releases a new version of Firefox that also disables access to websites that were not whitelistet by The Party, using the same reasoning.

                  • By hhh 2025-11-1614:35

                    Press fork.

            • By galaxy_gas 2025-11-1221:02

              For Discord it is basic rate limiting ( anty-VPN is other separate thing require phone number )

              There a bunch of bad actors doing mass scrape of all public server and history via all of those VPN

            • By jasonvorhe 2025-11-1312:341 reply

              What's so clean about YouTube, Discord, X etc? It's full of low quality content, scams, malware, influencers, advertisers and other scum and villainy.

              • By immibis 2025-11-1313:181 reply

                I think it refers to the fact they can deperson you from their platforms if they want to. It's only "dirty" and "clean" if you emphasize the quote marks, but it's definitely "heavily censored" and "free".

                There are allegations going around that e.g. some platforms are lax on child protection because some high up executives are pedophiles. But I'd still place those platforms in the "heavily sanitised" bucket if they're heavily restricting everything else. Those platforms just have a slightly different definition of "clean" than most of us.

                • By xeonmc 2025-11-1322:25

                  You can say Roblox directly you know, Death Eaters aren’t coming after you for saying the name.

            • By ThePowerOfFuet 2025-11-1314:52

              Mullvad Frankfurt 102 seems to always be OK in this regard.

            • By immibis 2025-11-1221:47

              it's already like that

          • By velcrovan 2025-11-1221:54

            I use it on Firefox and Safari on Mac OS (mainly Safari), and it's been OK except it's started doing a thing where it blips a bit after roughly the first 1sec of video plays.

            I wonder if being a YouTube Premium subscriber is also a factor here. I do pay for it so I don't see ads. But maybe the way ads are being served/injected has changed things for the worse for people that get them.

          • By MrNeon 2025-11-1218:273 reply

            I use Firefox with uBlock and besides a couple of times where video start was delayed by a few seconds it has been working as well as before.

            • By viftodi 2025-11-1219:001 reply

              Google does A/B testing for anti ad blockers.

              Not only do I get slowdowns and some videos don't load at all at times, but I also get a notification that explains that the reason is using adblockers.

              • By oldestofsports 2025-11-1310:20

                Here I am, totally given up on adblockers, and no way I’m paying for premium, but jesus christ the amount of ads I get, sometimes seems to be one every minute, making most videos unwatchable.

                Though it’s mostly good for my addiction since it makes me use youtube less.

            • By tedivm 2025-11-1221:103 reply

              For the last two days I haven't been able to watch youtube videos on Firefox without disabling uBlock.

              • By xenophonf 2025-11-143:26

                I had the same problem. Make sure you're running the latest version of uBlock Origin. By that I mean you should explicitly check for updates and install the latest version. That fixed it for me.

              • By mltsd 2025-11-1310:08

                I've disabled adblock/vpn and can watch maybe 1-2 videos before the video player starts blacking out on each one. Only restarting firefox "resets" it and I haven't been able to find a reason for this happening. Time for yt-dlp I guess

              • By a96 2025-11-1311:461 reply

                I disable youtube instead when this happens.

                • By tedivm 2025-11-1316:44

                  If I care enough I'll yl-dlp it to my jellyfin server, but yeah I mostly just don't bother.

            • By o11c 2025-11-1220:131 reply

              Recently I've found Youtube to just show a white screen if it detects Firefox+uBO.

              • By Ohmec 2025-11-133:51

                There's probably scripts you can add to your ubo to combat this.

          • By rubyn00bie 2025-11-1219:311 reply

            Yeah, big same here. It’s pretty frustrating, because I pay for YouTube premium, but cannot use my preferred browser. I have to use Chromium in order to have it work reliably. Doubly so considering it worked fine in Firefox for YEARS… until maybe six months ago?

            It feels like something the FTC should be investigating, or perhaps a European equivalent, but I doubt it will.

            • By dotancohen 2025-11-131:47

              The FTC will not investigate anything that was not reported to them. Did you report your experience? They do care about these issues, if you care enough to take six minutes to report it.

          • By jcalvinowens 2025-11-1221:391 reply

            YT works pretty flawlessly for me with firefox on debian. What's the issue you're seeing?

            • By therein 2025-11-1221:473 reply

              If you are blocking ads now, the videos will start in a very delayed fashion almost as if the server is waiting the length expected for the ad to take before streaming you any bytes.

              • By ciberado 2025-11-1222:18

                Same here. Still, I prefer to wait instead of suffering those aggressive ads.

              • By kotaKat 2025-11-1314:59

                The worst part is if someone doesn’t put 2+2 together and starts blaming their ISP for poor load issues because their Youtube “keeps buffering” because of this continue cat-and-mouse game messing with the player client.

                I do not enjoy having to troubleshoot “Youtube isn’t working” calls where it’s because of this adblock ‘protection’ bullshit.

                It’s just as bad as Ad-Shield’s bullshit “an error occured loading this page” — no, the page loaded just fine until your malware decided to dump the CSS and hijack my pageload to some “error-report.com” website to tell me my adblocker did it.

              • By wvh 2025-11-1310:10

                I've seen that too, but it's still better than somebody yelling in your face about toilet paper.

          • By plugger 2025-11-137:47

            I use Firefox + uBlock Origin on both Linux (Debian 12) and on Android to watch Youtube without ads and it works without issue.

          • By recursive 2025-11-1218:28

            I'm using Firefox.

          • By TiredOfLife 2025-11-1219:07

            I use Chrome and it's not good. They recently removed ability to force AV1 to only low resolution videos and as a result I had to disable HW acceleration in Chrome because accelerated AV1 decoding is broken on Steam Deck.

          • By RHSeeger 2025-11-1222:491 reply

            Interesting. I use Firefox and it works flawlessly for me. I wonder if it's a computing power thing?

            • By rajamaka 2025-11-1223:17

              I am constantly having serious issues running YouTube (Pentium II, IE3, Windows SQL Server 2003)

        • By johnisgood 2025-11-1219:271 reply

          Well... I have many new, emerging problems with YouTube as of lately.

          For example I have to scroll down a lot to get to the comment section, the suggestions are all over the place, and so forth. Annoying.

          Also due to uBlock Origin, some videos do not start and I have to refresh. It is not much of an issue for me but the fact that apparently I need a huge monitor to see the "old layout" is a problem for me.

          • By ryandrake 2025-11-130:511 reply

            It feels like "serving you the video you actually want to see" has become some kind of unimportant side quest, as opposed to serving you the crap (Ads, Shorts, recommendations, comments, sponsored content) that they would rather you be looking at.

            • By taneq 2025-11-132:38

              This is the essence of enshittification. The good fast useful free offering is the bait, and this... stuff... is the switch.

        • By dotancohen 2025-11-131:44

          YouTube is currently A/B testing some real annoyances:

          https://news.ycombinator.com/item?id=45868987

        • By latexr 2025-11-1216:421 reply

          Are you using Chrome or a Chromium browser? From experience and reports I’ve seen, that seems to make a huge difference.

        • By shevy-java 2025-11-1217:552 reply

          Since some days I suddenly get freezes in the tab; these unfreeze after some time, say 20 seconds or so, but I notice a delay.

          Something has really changed to the worse lately. I think it has to do with anti-ad programs as well as AI, like the UI also changed. It is important to point out that while you do not have any issues, other people do or may.

          • By BrenBarn 2025-11-1219:27

            I've been seeing weird stuff where the video will play but the page is unresponsive: can't click to pause, can't click the time index bar to move to a different point in the video, etc. Then I close the tab, and the audio keeps playing! It will play for 10-15 seconds before cutting out. Bizarre. . .

          • By embedding-shape 2025-11-1218:07

            I had that happen some week ago too! I had to clear site data + cookies for YouTube in Firefox before I got it to work again.

        • By Khaine 2025-11-1222:51

          Airplay from youtube is broken for me. I airplay and instead of english, I get german and no way to change the language. This is not an isolated incident.

          See https://www.reddit.com/r/youtube/comments/1id4amh/youtube_ch... and https://discussions.apple.com/thread/255931836

        • By NooneAtAll3 2025-11-1217:189 reply

          do you never encounter opening youtube video in a new tab only for video itself to load, while rest of the page doesn't?

          • By kiwijamo 2025-11-1217:42

            That's never happened for me and I normally watch 5-10+ YouTube videos daily. Firefox.

          • By wiml 2025-11-1220:111 reply

            That sounds pretty nice. Is there a way to do it on purpose?

            • By BonitaPersona 2025-11-178:01

              I know that's a tongue-in-cheek joke, but just in case I'm fond of the plugin unhook.

          • By gaudystead 2025-11-1217:50

            I experience this, but only with YouTube Shorts. Video loads, but none of the elements around it.

          • By busymom0 2025-11-1219:15

            This has happened to me frequently.

            Also many times, the video won't play. If I reload the page, then it will play.

          • By recursive 2025-11-1218:29

            I've never seen that. I use Firefox.

          • By mikkupikku 2025-11-1217:221 reply

            That happens to me about 50% of the time. I assume it's google engineers not testing on Firefox.

            • By mavamaarten 2025-11-1218:00

              Hah. I always assume it's them actively trying to make the experience worse on anything that is not Chrome.

          • By raydev 2025-11-1220:06

            Are you running any extensions that modify content?

          • By riidom 2025-11-1218:07

            Yes happens sometimes to me, Vivaldi.

          • By thenthenthen 2025-11-1217:59

            I have, and recently, i nothing is loading until i open a new video in another tab, then all of a sudden both pages start loading and playing :s

        • By tuhgdetzhh 2025-11-1219:391 reply

          Only if you use Googles Chrome Browser. Other browsers have issues like Firefox[1].

          [1]: https://news.ycombinator.com/item?id=41379517

          • By metalliqaz 2025-11-1219:471 reply

            I can no longer watch videos on YouTube with Firefox.

            When Firefox dies, the last glimmer of hope will go out.

            • By immibis 2025-11-1221:48

              I considered it as motivation to switch more from Firefox to Zen, where it works, I guess because Google doesn't recognize it as Firefox and doesn't apply the anti-competition script?

        • By dtlarson 2025-11-1217:59

          [dead]

      • By tux1968 2025-11-1216:222 reply

        Do you use Firefox on Linux, too? 4K Videos freeze so often for me, I don't even try watching them online, and always just download them with yt-dlp. It doesn't bother me enough to give Chrome a try, but maybe that'd make a difference.

        • By embedding-shape 2025-11-1216:231 reply

          I do too use Firefox on Linux, 4K videos seems to work fine for me, but I've never been able to download higher than 1080p with yt-dlp, seems it's just not available without DRM as far as I can tell, so now I'm curious how exactly you've been downloading that?

          • By do_not_redeem 2025-11-1216:30

            yt-dlp + 4K works fine for me. The only special thing I remember doing is adding the impersonate feature (which it prompts you to do if it needs it). In other words, instead of `uv tool install yt-dlp`, run `uv tool install yt-dlp[default,curl-cffi]`

            The version in the Arch repos does not include the impersonate feature.

        • By xmcp123 2025-11-131:471 reply

          This absolutely screams graphics card drivers problems to me.

          • By tux1968 2025-11-133:561 reply

            Does it? Why do they play perfectly fine after being downloaded?

            • By xmcp123 2025-11-1716:32

              On Linux? One can dream But if the correct drivers are installed and work, I think it will solve the issue.

      • By mschuster91 2025-11-1216:311 reply

        > YouTube barely works in a full-on browser these days

        Agreed. Shorts about half the time don't display comments, the back button breaks in mysterious ways. And I use Chrome on both Intel and M macOS machines, so the best in class there is, but my Windows Chrome doesn't fare much better. And Adblock ain't at fault, I pay for premium.

        And that's just the technical side. The content side is even worse, comments sections are overrun by bots, not to mention the countless AI slop and content thieves, and for fucks sake I get that high class youtubers have a lot of effort to do to make videos, but why youtube doesn't step in and put clear regulations on sponsorship blocks is beyond me. Betterhelp, AG1, airup, NordVPN (and VPNs in general) should be outright banned.

        And the ads, for those who aren't paying for premium, are also just fucked up. Fake game ads (Kingshot who stole sound effects from the original indie Thronefall ...) galore.

        Google makes money here, they could go and actually hire a few people to vet ads and police the large youtubers with their sponsors.

        • By ranger_danger 2025-11-1216:59

          I use an extension that turns shorts back into regular videos, and another one that undoes the auto-dubbing when watching videos in a (different) language that I understand.

          With that, uBO and Sponsorblock, I never see any ads and have a great YT experience. (I don't have premium either)

      • By nextlevelwizard 2025-11-138:28

        How are you using Youtube if you feel like it is "barely working"?

        I personally use Youtube almost exclusively for my entertainment. I am using Chromium on Raspberry Pi 5. I am running some flavor of uBlock, SponsorBlock, and some Shorts remover extension. It just works.

      • By WorldPeas 2025-11-1217:42

        I'm n=1 using chromium but the only problem I have is the video losing focus when maximizing, meaning l/r/space don't work for video controls anymore, happened about when the liquid glass styled interface did

      • By gilfoy 2025-11-1215:424 reply

        I use YouTube daily in safari and edge, this is complete hyperbole.

        • By zimpenfish 2025-11-1216:151 reply

          As a counter-anecdote, I use YouTube daily in Safari and it will not infrequently hang for tens of seconds when trying to load a video, occasionally play the sound without the video, reasonably frequently put the video over most of the page with no way to get to the controls, etc.

          (This may be because I have a whole swathe of adblockers, etc., plus I do a lot of `yt-dlp`ing from the same IP which may have me on a naughty list.)

          • By sebra 2025-11-1216:361 reply

            I have the same issue. I think it's because I'm adblocking because if I try in chrome with no adblocker it loads the ads instantly.

            But eh either 5s of black screen or 60s of ads. I tried watching a 15 min yt video without adblock and it had 5 ad breaks with some unskippable ads.

            • By zimpenfish 2025-11-1222:43

              > I tried watching a 15 min yt video without adblock and it had 5 ad breaks with some unskippable ads.

              Yeah - I watch most of my YouTubes on the Apple TV and the ads are a pestilence. Sometimes it'll be 50s pre-roll[1] with multiple 30-50s breaks for a 10m videos.

              Luckily there exist[0] many fine technologies that let you view them without ads via something like Infuse with a DLNA server if you're that way inclined.

              [0] Currently. YT-DLP is fighting the good fight but I don't know how much longer they'll be able to keep in front. But then I'll just stop watching YouTube, really, because it's a horror show without adblock/circumventions.

              [1] The video doesn't appear in your history until the pre-roll has finished which means if you can't be arsed sitting through a 50s pre-roll just that second and - at least on the Apple TV - you've not clicked on the video from your homepage / subscriptions, good luck trying to find it again unless you remember the name + channel etc. (which it also won't properly show you until after the pre-roll!)[2]

              [2] I hate YouTube corporate.

        • By phplovesong 2025-11-1215:464 reply

          Youtube is pretty unusable, as they throttle videos, and links sometimes dont work. It has gone downhill fast in recent years.

          • By ConceptJunkie 2025-11-1215:523 reply

            I have no problems with YouTube at all. Perhaps it's because I pay for Premium (primarily to get YouTube music).

            Regardless, Google services getting worse over time is becoming a law rather than a tendency.

            • By cons0le 2025-11-1216:325 reply

              I don't get the value ad of youtube music. Everything's already on youtube and they let you make playlists, and they have playlists of the top charts already.

              What else does youtube music get you? I can play on my phone with the screen off with yt vanced ( and I would never pay just for that feature, because I remember when it was free and they took it away )

              • By weaksauce 2025-11-1217:05

                > I can play on my phone with the screen off with yt vanced

                there's a lot of iphone/ipad users out there.

                > Everything's already on youtube and they let you make playlists, and they have playlists of the top charts already

                I don't use it but ui probably. ads maybe. plenty of people have money and don't want the inconvenience of trying to get around it.

              • By charcircuit 2025-11-1217:22

                No ads on music, no ads on shorts (shorts are allowed to freely use copyrighted music unlike long form video), background playback, downloading music to your device. These all are big value ads for me.

              • By j45 2025-11-1217:17

                You can play youtube videos (ad free) as music on any chromecast device including chromecast homes with the microphone turned off.

                Also, when playing music you won't be hit with ads.

                Your setup can move with you wherever you are, home, travel, in the vehicle. This can be helpful for engaging the audible sensors of small aliens sans screen.

                Youtube without ads on every device, anywhere, is quite a different experience.

              • By jack_pp 2025-11-1219:29

                You get music discovery, radios, go to album, go to artist

              • By raydev 2025-11-1220:10

                For me, it just comes with Premium, and I buy Premium to support the creators I watch often without having to watch ads. I want them to get paid.

            • By anonym29 2025-11-1216:421 reply

              Quick, everyone start sending unwanted junk mail to this guy's house, he'll pay you to stop!

              • By dyselon 2025-11-1217:062 reply

                Heaven forbid someone pay for an online service they use and enjoy.

                • By tripzilch 2025-11-1313:071 reply

                  Their point is that it's not "paying for" but it's "paying off".

                  • By dyselon 2025-11-1419:411 reply

                    Sure, it's just a poor analogy. YouTube doesn't show up at your door unprompted as junk mail does. You go there intentionally for the purpose of watching a video. You can pay for that video with your time or your money. No one is being "paid off" in that scenario.

                    • By anonym29 2025-11-151:32

                      Third option: I don't pay for it, I don't load the ads, and the trillion dollar company figures out a way to live with the economic consequences of their own decisions.

                      The company voluntarily decided to serve the content at no charge to consumers, at the company's own expense, to the internet at large, with no reasonable expectation of any obligations from the people they're freely offering the content to.

                      They're welcome to stop freely offering it the moment they decide they don't want to be the world's most popular video sharing and viewing platform anymore.

                      Until then, neither I nor anyone else has any obligation to pay them, run any part of their front-end code (includig the ad-serving parts), or view any of their ads.

                • By a96 2025-11-1311:50

                  I do, but not for services that treat their users (and content creators!) like YT does.

            • By supportengineer 2025-11-1217:13

              No one ever got a promotion for maintaining software

          • By kiwijamo 2025-11-1217:46

            They limit the buffer to around 30secs or so like all other streaming services but otherwise 95%+ of the time it just plays smoothing with no buffering at all from start to end. YouTube is generally in the top 3 of the video streaming services I use. Even on 4G wireless (which I occassionally use) it works well enough which is impressive as other video steaming services struggle (with the sole exception of Netflix which is probably the only one better than YouTube).

          • By ranger_danger 2025-11-1216:56

            No issues here for me with uBO, logged in or not, no premium

          • By shermantanktop 2025-11-1216:061 reply

            No idea what you are talking about. I don’t have premium and use in both logged in and logged out.

            • By nancyminusone 2025-11-1216:29

              If I'm logged out, I get "Sign in to confirm you're not a bot" about once a week from both home and the office.

        • By embedding-shape 2025-11-1216:421 reply

          That's a bit like complaining no cars have trouble because your Fiat doesn't have a problem. There are more browser engines out there than the ones you use, some in direct competition with Google themselves, maybe people using those engines are experiencing issues? Jumping to calling out "hyperbole!" sounds like hyperbole itself, since you don't actually have broad experience enough to say if that's true or not.

          FWIW, when I use Chromium (logged out/in) on Linux, everything works fine. If I use Firefox (logged in), it works worse. If I change the user-agent to Chromium in Firefox, I get faster buffering than when I use the default user-agent. Make of that what you will.

          • By darkwater 2025-11-1218:052 reply

            > That's a bit like complaining no cars have trouble because your Fiat doesn't have a problem.

            No. Because even if it might be complicated, any website developer can test their website against a wide array of browsers, in a more or less automated way.

            • By Too 2025-11-1220:50

              When it comes to video it’s not only the browser. It’s also your gpu, your OS and your gpu drivers.

              Notably, YouTube these days prioritize AV1 codec even if you don’t have gpu acceleration for it, making lots of systems fall back to CPU decoding and making it completely unusable. Install the h264ify extension to force h264 during content negotiation and get your gpu decoding back.

              Even if you can make a matrix of all those combinations, it’s even more complex than that to test in practice. Take my laptop for example, it starts off good and manages the cpu decoding for a while, a few minutes into a video it overheats and throttles, causing stutter.

              What YouTube should do on the other hand, and I’m sure they already do, is to collect metrics from all playbacks. That should show black on white how many users struggle with each codec.

              I don’t think I’m in any minority here given how many million installations the h264ify extension has. Google simply care more about their bandwidth cost than the user experience.

            • By embedding-shape 2025-11-1218:111 reply

              So you're expecting Google engineers and managers to prioritize adding broad cross-browser support, which adds more work for them, when the same company is also developing a competing browser?

              No, Firefox always been a second-rate guest at Google properties, and I'm not expecting it to change soon either. Why would they make it better when status quo means more Chrome users (in their mind)?

              • By badlibrarian 2025-11-1218:26

                It's not 2003, the browser isn't the battle.

                I would expect YouTube managers to pressure the Chrome managers, because YouTube brings in billions of dollars every month. Likewise I would expect the trend to move in favor of YouTube, because the browser loses money at an increasing amount and YouTube generates money at an increasing amount. 70% of YouTube happens on Mobile, and in the US more people are now watching on TVs than phones. Source: Nielsen, the old-school company that has huge influence over ads.

                The site pops a literal warning saying "having problems? turn off your ad blocker" so I'm not sure where the mysteries lie here.

                They're testing on thousands of devices. And they're probably even testing against ad-blockers on your bro-browser. But they're certainly not motivated to optimize that experience, so you get what you get.

        • By komali2 2025-11-1216:15

          I run it in firefox. Today a video kept freezing when I scrolled down to load the comments. Sometimes I bizarrely have to scroll super far down to get past recommended videos to see the comments, which sometimes crashes the tab.

          On mobile (Firefox) I frequently have issues with videos freezing or videos crashing when I try to replay a section.

          I freely admit to holding google software to a higher standard than e.g. random FOSS tools I use or saas from startups, however I also believe google has the talent, time, and money to where their software should basically be the best on Earth, and it's kinda shocking how often it's not and in what ways it's not. And YouTube is how old now?

          The fact alone that I still can't toggle off Google maps "we found a faster route, tap ok to not change the route you change" thing...

      • By ElijahLynn 2025-11-1215:563 reply

        I use YouTube in a browser (Brave) almost everyday. Works great for me.

        • By qwerpy 2025-11-1216:161 reply

          Also on Brave and uBlock Origin. Mostly works great but every video now has a 3-4 second pause before starting. Pretty sure it's an anti-ad-blocker measure. Because I'm not watching their ads, I have no room to complain, just throwing out the data point that it's not a flawless experience anymore.

        • By a96 2025-11-1311:52

          Brave is a series scam company.

        • By cons0le 2025-11-1216:35

          you don't get the "are you still watching" popups? sometimes it buffers hard for me. They also removed dislikes and constantly push shitty clickbai AI thumbnails. They're also adding shitty ai translation, so if you like learning languages you're SOL. They also changed thier rec algo to be more "right wing\tech bro" leaning

    • By Wowfunhappy 2025-11-1215:217 reply

      What environment are you using that: - Has access to Youtube - Can run Python code - Can’t run JS code

      If the concern is security, it sounds like the team went to great lengths to ensure the JS was sandboxed (as long as you’re using Deno).

      If you’re using some sort of weird OS or architecture that Deno/Node doesn’t support, you might consider QuickJS, which is written in pure C and should work on anything. (Although it will be a lot slower, I’m not clear just how slow.) Admittedly, you then loose the sandboxing, although IMO it seems like it should safe to trust code being served by Google on the official Youtube domain. (You don’t have to trust Google in general to trust that they won’t serve you actual malware.)

      • By embedding-shape 2025-11-1216:352 reply

        > What environment are you using that: - Has access to Youtube - Can run Python code - Can’t run JS code

        Nothing specific, just tend to run tools in restricted VMs where things are whitelisted and it's pretty much as locked down as it can be. It can run whatever I want it to run, including JS, and as the logs in my previous comment shows, it is in fact running both Python and JS, and has access to YouTube, otherwise it wouldn't have worked :)

        I tend to have the rule of "least possible privileges" so most stuff I run like that has to be "prepped" basically, especially things that does network requests sometimes (updating the solver in this case), just a matter of packaging it before I run it, so it's not the end of the world.

        No weird OS or architecture here, just good ol' Linux.

        > IMO it seems like it should safe to trust code being served by Google on the official Youtube domain

        The JS script being downloaded is from the yt-dlp GitHub organization (https://github.com/yt-dlp/ejs/releases/download/0.3.1/yt.sol...), not from Google or any websites, FWIW.

        • By Wowfunhappy 2025-11-1218:431 reply

          > The JS script being downloaded is from the yt-dlp GitHub organization

          I meant the challenge that is the reason they need the Javascript in the first place.

          You can’t very well run yt-dlp without trusting yt-dlp code.

          • By embedding-shape 2025-11-1219:422 reply

            The original point was this:

            > > IMO it seems like it should safe to trust code being served by Google on the official Youtube domain

            Which came from a misunderstanding about where the downloadable solver script comes from, as it doesn't come from youtube.com, it comes from github.com (yt-dlp org), I was just correcting that misunderstanding.

            > You can’t very well run yt-dlp without trusting yt-dlp code.

            That makes a ton of sense and I agree! I'm not sure how that is related to anything though? I download yt-dlp from Arch repositories, so yes I'm trusting Arch maintainers and of course yt-dlp developers. Then I'm adding a manifest which controls what this application can actually access, which is basically a VM config, where I define that it can access youtube.com (and a bunch of other sites I mirror/archive). This is the part that shouldn't have github.com/* access.

            Again as mentioned, not a big issue, plenty of workarounds, so not the end of the world.

            • By Wowfunhappy 2025-11-1221:181 reply

              > Which came from a misunderstanding about where the downloadable solver script comes from, as it doesn't come from youtube.com, it comes from github.com (yt-dlp org), I was just correcting that misunderstanding.

              But that script is ultimately running a JS challenge from Youtube, right? That’s why we actually needed a JS runtime in the first place.

              • By embedding-shape 2025-11-1222:43

                Correct, the data needed to solve the challenge comes from YouTube.

            • By imnewton 2025-11-132:48

              Restricting or sandboxing software is something I've been looking into recently. Would you mind sharing what you use and possibly an example as well? Perhaps an example for yt-dlp?

        • By j45 2025-11-1217:19

          This is the way. Leaving so many packages with unfettered access to your system is only so secure.

      • By mike-cardwell 2025-11-1222:031 reply

        This works for me:

            FROM python:3-slim
            RUN python3 -m pip --no-cache-dir install 'yt-dlp[default]'
            RUN apt-get update \
             && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -q -y ffmpeg curl unzip \
             && curl -fsSL https://deno.land/install.sh -o /tmp/deno.sh \
             && sh /tmp/deno.sh -y \
             && mv /root/.deno/bin/deno /usr/local/bin/ \
             && rm --force --recursive /var/lib/apt/lists/* /tmp/* /var/tmp/*
            ENTRYPOINT ["yt-dlp"]

      • By dspillett 2025-11-1216:232 reply

        > What environment are you using that: - Has access to Youtube - Can run Python code - Can’t run JS code

        They didn't say “can't run JS code”, but that from that location the solver could not be downloaded currently. It could be that it is an IPv6-only environment (IIRC youtube supports IPv6 but github does not), or just that all external sites must be assessed before whitelisted (I'm not sure why youtube would be but not github, but it is certainly possible).

        • By embedding-shape 2025-11-1216:392 reply

          It's just me being paranoid after seeing npm/pypi supply chain attacks, and since then I basically run most software touching the internet in a VM one way or another.

          I think in this case, my own laziness is what makes it worse than it has to, currently I'm doing whitelisting by domains, so youtube.com for the yt-dlp runner is obviously OK, and I'd want to avoid whitelisting github.com for that, since it's just downloading one JS file.

          For now manually copying the config file into my SCM or just whitelisting GitHub for initial download does the trick. I guess I just had to squeeze in one complaint in my previous comment so I could get the HN stamp of approval, can't be too positive.

          • By dspillett 2025-11-1217:24

            You could serve the files yourself from a server populated by updating them from github after review. You'd need to either sign the domain with your own CA that the host running yt-dlp trusts, or patch yt-dlp to use a different server name, but neither of those steps should be too onerous.

          • By j45 2025-11-1217:20

            It's not paranoid, it's more attack surfaces that don't need to be.

            Happy to read and learn more about the setups you've found helpful to do this.

        • By rwmj 2025-11-1218:071 reply

          I've just hit the IPv6 problem. I routinely use yt-dlp -6 to cycle through my (basically infinite) set of IPv6 addresses. However when you do this, it tries the github EJS download over IPv6, which fails as github doesn't support IPv6 (because it's still the year 2000 over there).

          Actually I think this is kind of a yt-dlp bug, since it doesn't need to use IPv6 for the github download.

          • By immibis 2025-11-1311:55

            You can set up a 'socat' process to listen on a certain IPv6 address and relay traffic to GitHub, and add it to your hosts file, and you don't even need to break TLS since it's forwarding traffic unchanged

      • By ivankra 2025-11-1216:531 reply

        > Although it will be a lot slower, I’m not clear just how slow.

        Around 30-50x slower than V8 (node/deno).

        I've been recently benchmarking a lot of different engines: https://ivankra.github.io/javascript-zoo/

        • By ranger_danger 2025-11-1217:041 reply

          > Around 30-50x slower than V8 (node/deno).

          A solver running at 50ms instead of 1ms I would say is practically imperceptible to most users, but I don't know what time span you are measuring with those numbers.

          • By ivankra 2025-11-1217:352 reply

            My page is about generic JS benchmarks. Just did a quick run with a sample javascript challenge I got via yt-dlp (https://raw.githubusercontent.com/ivankra/javascript-zoo/ref...):

              $ time ./v8 /bench/yt-dlp.js | md5sum -
              a730e32029941bf1f60f9587a6d9554f  -
              real 0m0.252s
              user 0m0.386s
              sys 0m0.074s
            
              $ time ./quickjs /bench/yt-dlp.js | md5sum -
              a730e32029941bf1f60f9587a6d9554f  -
              real 0m2.280s
              user 0m2.507s
              sys 0m0.031s
            
            So about 10x slower for the current flavor of YouTube challenges: 0.2s -> 2.2s.

            A few more results on same input:

              spidermonkey 0.334s
              v8_jitless 1.096s => about the limit for JIT-less interpreters like quickjs
              graaljs 2.396s
              escargot 3.344s
              libjs 4.501s
              brimstone 6.328s
              modernc-quickjs 12.767s (pure Go port of quickjs)
              fastschema-qjs 1m22.801s (Wasm port of quickjs)
              boa 1m28.070s
              quickjs-ng 2m49.202s

            • By ivankra 2025-11-135:18

              Tidied up benchmark and results: https://gist.github.com/ivankra/a950b2c37db48c66fe5dceb0acd8...

              Looks like quickjs is the next best option after the big three engines (V8/JSC/SM).

            • By rdtsc 2025-11-1219:21

              Thanks for the benchmark!

              I tried it on my slower laptop. I get:

                 node(v8)  : 1.25s user 0.12s system 154% cpu 0.892 total
                 quickjs   : 6.54s user 0.11s system 99% cpu 6.671 total
                 quickjs-ng: 545.55s user 202.67s system 99% cpu 12:32.28 total
              
              A 5x slowdown for an interpreted C JS engine is pretty good I think, compared to all the time, code and effort put into v8 over the years!

      • By Cogito 2025-11-133:27

        I've found having yt-dlp available on my iPhone useful, and used Pythonista to achieve that, but haven't figured out how to get the new requirements to work yet. Would love any ideas people have!

      • By comonoid 2025-11-1312:24

        Can QuickJS be compiled to WASM and executed in WASM sandbox?

    • By gamer191 2025-11-1214:39

      > It would be great if we could download the solver manually with a separate command

      Download a random video and then copy ejs from yt-dlp’s cache directory (I think it’s in /home/username/.cache)

      > being able to package it up together with the solver

      `make yt-dlp-extra`

    • By mnmalst 2025-11-1217:531 reply

      • By embedding-shape 2025-11-1218:131 reply

        No, don't need anything extra, `extra/yt-dlp` works perfectly fine and is enough. You'll get a warning if you run it without the flag:

            WARNING: [youtube] [jsc] Remote components challenge solver script (deno) and NPM package (deno) were skipped. These may be required to solve JS challenges. You can enable these downloads with  --remote-components ejs:github  (recommended) or  --remote-components ejs:npm , respectively. For more information and alternatives, refer to  https://github.com/yt-dlp/yt-dlp/wiki/EJS
        
        Providing one of the flags automatically lets it automatically get what it needs. No need for AUR packages :)

        Edit: Maybe I misunderstood, now when I re-read your post. You meant it'll prevent the automatic download at runtime perhaps? That sounds about right if so.

        • By mnmalst 2025-11-1218:30

          Yes exactly, if you install the package you don't need the download the solver on the fly. AT least that's my understanding of what the package is supposed to do. Personally I have no need for it.

    • By Jogo_Alex 2025-11-1216:38

      yt-dlp --cookies-from-browser firefox --remote-components ejs:github -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" 'https://www.youtube.com/watch?v=XXX'

    • By khannn 2025-11-1215:08

      I manually installed Deno via Chocolately, but I also installed yt-dlp from choco so it's on v2025.10.22

    • By ranger_danger 2025-11-1216:55

      It was just updated again today, and at least for me, when you install it using the package name "yt-dlp[default]", it already downloads both deno and the solver automatically.

    • By zahlman 2025-11-1220:481 reply

      > It would be great if we could download the solver manually with a separate command, before running the download command

      ...Can they not just bundle a solver? For that matter, deno is available as a PyPI package.

      > as I'm probably not alone in running yt-dlp in a restricted environment

      ...An environment that doesn't allow you to install Deno, but does allow you to install yt-dlp?

      • By rmunn 2025-11-133:521 reply

        yt-dlp doesn't need to be installed, you can download the binary from GitHub and run it without installing. You might say that a restricted environment really really should prevent running binaries just downloaded from the Internet, and I agree (malware could do many nasty things to a user's home folder without needing to request admin access), but some people think merely preventing admin access is enough. So for anyone under that kind of restricted computing environment, yt-dlp used to run just fine until Google's changes to Youtube forced them to add a Deno requirement. (Though I haven't yet checked if Deno could also be run without installing.)

        • By zahlman 2025-11-1315:19

          > Though I haven't yet checked if Deno could also be run without installing.

          A third party is packaging it for PyPI (although yt-dlp doesn't support this, nobody has properly verified it etc.) and the wheel looks to be just a monolithic executable and a "tell me the executable path" wrapper (much like the official PyPI package for uv), so I would assume it can.

  • By nofunsir 2025-11-1222:383 reply

    Tangentially related. Youtube web is now, as of the last month, strictly enforcing "referrer header" for embedded videos. Even if you spoof it, it doesn't always work. You can't navigate directly to "youtube.com/embed/<videoid>" to watch something without giving google some direct information.

    Since when are public-facing error codes just lies?

    "Oh Error 15 something went wrong, tee hee." "Oh Error 153 better try again, (got em, guys!)"

    They operated for a while, before finally updating their FAQ stating this is intentional.[1]

    [1] https://support.google.com/youtube/answer/171780?hl=en#zippy... " Provide a HTTP Referer header to enable video playback

    Our Terms of Service require embedders to provide a HTTP Referer. If this information is missing, viewers attempting to watch embedded YouTube videos will encounter blocked playback and an error screen (“error 153”). These viewers will still be able to click “Watch on YouTube” to view the video on YouTube. Note that directly accessing the embedded player without an enclosing webpage or context (such as accessing it from your web browser's address bar) will typically not have a HTTP Referer and users will encounter the error screen; the embedded player is only intended to be used within an embedded context."

    • By Neywiny 2025-11-1223:07

      Pretty much all embeds have done this, increasing over the years. Forget discord embeds. They want the tracking. Sometimes they even make me login "to know I'm not a bot"

    • By pwdisswordfishy 2025-11-137:11

      Does a Referer of "http://127.0.0.1" work?

    • By hollow-moe 2025-11-1223:101 reply

      Damn that's crazy, nothing a simple static redirector in a single js line can't fix. Overall cost to implement this shit : likely thousands hundred k Bypass cost : literally 0 It really is just a way for them to say "we can fuck with you as much as we want and you won't do shit cause what you gonna do ? go somewhere else ?"

      • By xeonmc 2025-11-1223:211 reply

        In killing the cable company, YouTube has become the cable company themselves.

        • By immibis 2025-11-1313:56

          Exactly like cable companies did when they killed whatever was before. Every corporation always acts to maximize revenue.

  • By bdz 2025-11-1213:1713 reply

    I use yt-dlp (and back then youtube-dl) all the time to archive my liked videos. Started back in around 2010, now I have tens of thousands of videos saved. Storage is cheap and a huge percent of them are not available anymore on the site.

    I also save temporary videos removed after a time for example NHK honbasho sumo highlights which are only available for a month or so then they permanently remove them.

    • By cantor_S_drug 2025-11-1214:0010 reply

      You are a digital hoarder. I have taken so many pics that I wouldn't even bother to look back that them (do we ever?) but Google memories is really a neat feature, it refreshes memories. I think you should run a similar service to refresh memory of your favourite videos like they are on speed dail.

      • By npteljes 2025-11-1214:28

        I look at my pictures regularly. They are on my phone, mostly I scroll back 1-3 months to refresh my memory, and I often go further back to check on how living things were around me, and to what my general surrounding looked like. I also like to look at game screenshots from time to time. Funny to see how I lived life back then.

        The Memories feature sounds cool. I have something a bit similar on my Nextcloud, "On this day", that shows an image dated on the same day in previous years, and clicking it brings up more pictures from its general time. I love it! So many memories.

      • By tmountain 2025-11-1214:17

        I'm an amateur photographer. Lately, I've taken to making curated collections from my "slush feeds". Meaning, going through a particular trip, time period, moment and grabbing the best photos, and parceling them out to a dedicated album. Makes for a much better experience and fun to share with friends/family.

      • By ifdefdebug 2025-11-1216:221 reply

        I have an e-ink photo frame on the wall that switches picture once every 24h, picking one of my pictures of the last 10+ years by random. So every single one of my tens of thousands of pictures gets a real chance to be seen at least once during my lifetime :)

        • By physicles 2025-11-130:541 reply

          Which frame do you use? I’ve been looking for this for a long time, but I wasn’t aware color e-ink was good enough for this yet.

          • By ifdefdebug 2025-11-138:24

            it's actually black and white, and needed some programming to work like this.

      • By kristofferR 2025-11-1214:38

        I've seen photography compared to archery recently, and that comparison stuck with me.

        As long as you enjoy the act of shooting, that is enough. Archers doesnt have to keep and look at old scoreboards/targets for the archery to have been enjoyable and worthwhile, it's the same with modern photography.

      • By kccqzy 2025-11-1214:40

        Often when I am bored I pick a random day in the past and look at where I was on that day and which pictures I took. Refreshing memories is a great idea but the low tech way is enough for me.

      • By ge96 2025-11-1214:033 reply

        I compulsively take pictures of the sky, same never to be looked at

        • By bluGill 2025-11-1214:151 reply

          Taking pictures is important to getting better. Be glad that each one doesn't cost $.30 in film like it would have in 1980 - not inflation adjusted (prices from memory so perhaps off a bit). That is just the cost of the film you used, if you want to look at the negative you have development costs, and even more costs to get a print. Today you don't have to worry about costs of a photo and so can take a lot of them without worry will it be good, if it is bad just learn from the mistake and throw it away.

          • By fragmede 2025-11-1214:401 reply

            BLS says $0.30 is $1.25 today. Each roll was like 30 pictures too (24, but I like round numbers), so like her $30 a roll?

            https://data.bls.gov/cgi-bin/cpicalc.pl?cost1=.30&year1=1980...

            • By bluGill 2025-11-1215:09

              I'm going from memory, but I recall that both 25 and 36 picture rolls were common and there were some 12 picture rolls. (maybe 15?) And of course there were a number of different sizes - 110, 120, 35mm, disc, each with different sizes and costs. (more film sizes at the professional level as well, but your local drug store had all of the above)

        • By a012 2025-11-1214:481 reply

          I take pictures of the sky, not to post it somewhere immediately but it’s like documentary captures for later years looking back

        • By apples_oranges 2025-11-1214:151 reply

          We can’t ever document all of life on earth but we can try

      • By anticodon 2025-11-1214:37

        I routinely review my pics and vigorously delete all duplicates or poor quality images. It helps if you do this for 10-15 minutes every day. At least I'm able to find most of the pictures I remember I took, and I don't have to scroll through 1000 snaps of some particular sunset to do that.

      • By johnisgood 2025-11-1214:592 reply

        Might sound stupid, but: differences between Google memories vs. Snapchat memories?

        Also my issue is that I would NEVER upload the photos I have on my hard drive due to privacy issues, but if I had a local model that could categorize photos and whatnot, that would be cool. I have over 10k screenshots / images. Many of them have text on it, so probably need OCR.

        > You are a digital hoarder.

        Is this meant to be negative? Many videos I have watched on YouTube are now unavailable. I wish I had saved them, too, i.e. I wish I was a digital hoarder, too, but eh, no space for me.

        • By Mraedis 2025-11-178:36

        • By scotty79 2025-11-1215:201 reply

          > Is this meant to be negative?

          It didn't sound negative to me. I immediately associated it with people who obsessively recorded TV on VHS and their collections are now treasure troves of historic media not available from any other source. You do you.

          • By johnisgood 2025-11-1215:22

            Yeah, I still have a VHS collection of cartoons I used to watch as a kid.

            It did not sound particularly negative to me either, but if it was, I wonder why.

      • By nsonha 2025-11-135:02

        > do we ever?

        We have AI to sort them so it will payoff, or already does.

    • By blarg1 2025-11-1213:353 reply

      I started after channels started removing their own videos because they either didn't think the videos were good enough or they had a mental break and deleted their channel. So good stuff just gone.

      • By ajsnigrutin 2025-11-1215:04

        Or because someone else made them take them off. Or because they were deemed 'too dangerous'. Or worse.

        Cody's lab removed a few of them and many others.

      • By underlipton 2025-11-1217:40

        There was one instance where a prominent "doujin" musical artist got fingered as a thief. Away went all of their videos, except... he'd packaged them as something completely different from wherever he'd taken them from. One song in particular sucked to lose, because its sibling still exists as an "extended" upload. So, I can listen to the one any time, but the other, I simply know that it once existed, and that it might still exist somewhere else, just under a different title. I can't even remember how it went.

      • By doublerabbit 2025-11-1214:401 reply

        Some of the old YTPs were fantastic. They don't exist now.

        Generations of talent & creativity just gone.

    • By chrsw 2025-11-1214:281 reply

      Anything you see on the Internet can be gone in a moment. If something is important to you, you must save it to guarantee you want to see it again.

      • By underlipton 2025-11-1218:33

        The problem then becomes organizing and resurfacing content, especially when it'll likely be outside the context you originally found it.

    • By lyfy 2025-11-1217:14

      Wasn't expecting to see a fellow sumo hoarder on HN...there's dozens of us, dozens!

    • By mynameisash 2025-11-1214:251 reply

      I was just lamenting last night that we can't watch some of Terutsuyoshi's amazing makuuchi bouts from about three(?) years ago. I wish I'd archived them.

    • By trallnag 2025-11-1213:394 reply

      Do you ever go back and actually watch those videos? Whenever I start to journal, track, or just document something, after some time I notice again and again that most of the value has already been created the moment I finish working on a specific entry. Even with something seemingly very important like medical records. Maybe one exception I can think of are recordings of memories involving people close to you

      • By f_devd 2025-11-1213:48

        I have the same with journals, but the video archiving has actually come up a few times, still fairly rare though. I think the difference is that you control the journal (and so rarely feel like you need it's content) while the videos you're archiving are by default outside of your control and can be more easily lost.

      • By bdz 2025-11-1213:542 reply

        I actually do! I have a perpetual VLC playlist which plays those videos randomly if I need some background noise.

        • By avhception 2025-11-1214:25

          I also have a ton of music videos from Youtube. Many of them are fan-made, many already unavailable I sometimes play them on a projector when I'm throwing a party.

        • By rob 2025-11-1215:042 reply

          How many of the 20,000+ videos you've saved locally do you actually care about if they get "removed" from YouTube?

          • By bdz 2025-11-1216:26

            I'm not sure and that's a good question but after a point it was a principle of saving them rather than caring them about. Probably a digital hoarding attitude.

          • By lurk2 2025-11-1218:18

            You never know until you need to find something and can’t find it.

      • By dylan604 2025-11-1214:26

        I don’t think journaling is the same thing though as hoarding pics/videos. Even if you never go back and read through old hand written journals, just the physical process of writing has mental effects that pics/videos do not. There’s also a bit of therapeutic results from slowing down and putting thought to paper. So to me the only similarity is that you might not ever look at it again, that does not make them the same at all

      • By rob 2025-11-1213:451 reply

        I would be interested in knowing as well. I've been watching YouTube since it first came out and can't remember any times where I saw something I thought I needed to actually download and save in case I wanted it in 10 years. 10,000+ videos is a lot of videos to just seemingly save.

        • By ndriscoll 2025-11-1214:11

          Whether something is worth downloading is a good heuristic for whether it's worth watching in the first place. e.g. university lectures, technical talks, hobby technique tutorials, etc. are something you may want to reference in the future, or you may want to save for your kids in case they're interested in it one day, etc. The latest slop from professional "content creators" that you can't imagine keeping so you can pass it down one day? Not worth your time today either.

    • By halapro 2025-11-1219:41

      With more content than we need being produced regularly, do you really need to store everything you've ever watched?

      I used to be an MP3 and movie hoarder, then somehow I realized it was not worth my time.

      Now I only hoard my photos and I keep them all on my phone (slash cloud) for me to actually scroll through regularly.

    • By moralestapia 2025-11-1213:283 reply

      Same here and my motivation was that some of my liked videos were randomly removed and it's pretty cool music I wanted to keep forever.

      I made another script that adds the video thumbnail as album art and somehow tries to put the proper ID3 tags, it works like 90% of the time which is good enough for me.

      Then I made another script that syncs it to my phone when I connect it.

      So now I have unlimited music in my phone and I only have to click on "Like" to add more.

      And yet, none of Google's 900k TOC genius engineers have thought of this as a feature ...

      • By FergusArgyll 2025-11-1214:171 reply

        I have a script that calls out to a small llm

          artist = llm_call("return the name of the artist based on this title", title)
        
        etc. with some stripping of newlines etc. It works well! they can often infer the correct answer even if it's not present in the title

        • By moralestapia 2025-11-1214:27

          Hey ^^, that's a great idea.

          I wrote all of this stuff pre-LLMs, never occurred to me until now, thanks!

      • By dylan604 2025-11-1214:31

        I doubt that it’s a nobody else situation, and it’s more of a management doesn’t want it as it takes away the need for their own streaming offerings. Music industry also doesn’t want it, as there’s no more royalties coming in. Can’t release an app that pisses of the industry.

      • By anamexis 2025-11-1213:411 reply

        > And yet, none of Google's 900k TOC genius engineers have thought of this as a feature ...

        Isn’t that the YouTube Music app?

        • By moralestapia 2025-11-1214:251 reply

          No.

          • By anamexis 2025-11-1214:492 reply

            How so? What’s missing?

            • By moralestapia 2025-11-1214:581 reply

              * Several hundred million tracks that are not labeled as "music" by uploaders, to start.

              * Native integration with my phone music player, allowing for things like seamless playback, etc.

              * Things I like on YouTube automatically go to my device.

              * If a track is removed from YouTube, it stays on my device.

              (Did you take 10 seconds to read my comment above?)

              • By anamexis 2025-11-1215:231 reply

                * Every Youtube video is playable on the Youtube music app.

                * There is a liked videos playlist

                Yes, I read your comment above.

                Regarding the other two points, it is of course understandable why you'd want to download and have your own solution. But that is also obviously not an issue with Google engineers/PMs neglecting to think of a feature.

    • By niutech 2025-11-1310:05

      Can you upload some most interesting deleted YT videos to Web Archive or even Dailymotion, so that they are preserved for the next generation?

    • By politelemon 2025-11-1217:36

      What is your storage setup, do you have lots of hard drives, or does this go online somewhere?

    • By hexagonwin 2025-11-1217:17

      how do you manage the archive? I mean the file hierarchy structures etc. i started archiving youtube videos recently, now saving descriptions and other metadatas too, but simply having them all in one directory doesn't seem to be a good idea.

    • By nicman23 2025-11-1213:492 reply

      do you have a cron job or something? i know it is probably trivial but eh

      • By ivanjermakov 2025-11-1213:574 reply

        • By trvz 2025-11-1214:077 reply

          You people always make everything more complicated than necessary.

            yt-dlp -o '%(uploader)s/%(upload_date)s - %(title)s [%(id)s].%(ext)s' --cookies-from-browser chrome https://www.youtube.com/playlist?list=LL

          • By hrimfaxi 2025-11-1214:26

            That does none of the things tubearchivist does, among them:

            - Subscribe to your favorite YouTube channels - Index and make videos searchable - Play videos - Keep track of viewed and unviewed videos

            Not to mention having to ssh and copy paste URLs around, instead of visiting a page in my browser.

          • By bspammer 2025-11-1214:26

            > Once your YouTube video collection grows, it becomes hard to search and find a specific video. That's where Tube Archivist comes in: By indexing your video collection with metadata from YouTube, you can organize, search and enjoy your archived YouTube videos without hassle offline through a convenient web interface.

            If you don't want the indexing and the pretty frontend that's fine, but there's a reason software like Plex is popular.

          • By ivanjermakov 2025-11-1222:461 reply

            I'm also not a fun of such overengineered programs, but using raw yt-dlp alone is not enough for replicating full workflow.

            Your command is nice for downloading a single video (I also provide a url from clipboard via xclip), but archiving videos daily from a list of favorite channels would require a bit more scripting. Didn't manage to find anything both minimal and popular to link instead.

            • By trvz 2025-11-1413:42

              It doesn't download just a single video – it downloads all your liked videos with some reasonable sorting.

              Put your favorite channels' and playlists' URLs into a text file and use the "-a file.txt" flag to batch download. Use "--dateafter {date of 3 days ago}" to download only the latest videos. Adapt as needed.

          • By fragmede 2025-11-1218:30

            I sent the video to my friend, but his phone says "/home/trvz/media/youtube/george hotz archive/20251109 - comma ai | COMMA CON 2025 | George Hotz | Outwit, Outplay, Outlast | President [werrvv0MVXQ].webm" was not found. Plz help!

          • By ryandrake 2025-11-1216:58

            Someone should put together and publish a docker container that does that.

          • By DrammBA 2025-11-1216:28

            > When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."

            https://news.ycombinator.com/newsguidelines.html

        • By darkwater 2025-11-1214:34

          Ooooh thanks! ElasticSearch? Who cares, gotta use somehow that spare memory in my k8s home cluster!

        • By postexitus 2025-11-1214:27

          Gives me Magnum Archives vibes.

        • By moffkalast 2025-11-1214:13

          Damn, one can really build an offline internet for themselves these days huh?

      • By bdz 2025-11-1213:56

        No! It would be easier but I burned myself so many times with removed videos that I do it on my own basically asap manually. Not a big deal once you have yt-dlp properly

    • By fi-le 2025-11-1216:14

      What percentage, in numbers?

HackerNews