News for hackers. Stuff that matters.
Re:They Bypass YouTube Video Download Throttling by 0x7d0 on Monday August 14, 2023 @12:02AM (#37117339)
Have you ever tried to download videos from YouTube? I mean manually without relying on software like youtube-dl, yt-dlp or one of “these” websites. It’s much more complicated than you might think.
Re:They Bypass YouTube Video Download Throttling by NoZebra120vClip on Monday August 14, 2023 @12:10AM (#37117382)
Like, press the "Download" button and pay for Premium?
Re:They Bypass YouTube Video Download Throttling by mynameisvlad on Monday August 14, 2023 @04:42AM (#37118803)
YouTube Premium doesn’t let you download the video file.

Even if you do it from a browser, it is only accessible from the YouTube website run offline as a SPA.

Even then, downloaded videos can only be played for 29 days before having to reconnect most of the time, with some regions restricting it to 48 hours.

Re:They Bypass YouTube Video Download Throttling by js8 on Monday August 14, 2023 @05:26AM (#37119056)
I would totally buy Premium subscription if they let me download the videos, and I told Google that. The way it is now - no deal.
Re:They Bypass YouTube Video Download Throttling by Mindwipe on Monday August 14, 2023 @06:34AM (#37119414)
Meh, Google know that nobody would pay for that as a selling point when it only applied to a third of videos, and they will never get copyright clearance from third parties for more than that.
Re:They Bypass YouTube Video Download Throttling by js8 on Monday August 14, 2023 @09:10AM (#37120632)
I think you misunderstood what I said. I would gladly pay premium/subscription for videos that are OK with it. I don't care about those that don't, they just won't get my subscription.
Re:They Bypass YouTube Video Download Throttling by G3rn0ti on Monday August 14, 2023 @04:57AM (#37118882)
I think parent means the YouTube app. On iOS (and android/chromos?) you can actually download videos and watch them offline if you got a premium membership. But then the videos are under control by the app.
Re:They Bypass YouTube Video Download Throttling by mynameisvlad on Monday August 14, 2023 @05:34AM (#37119093)
Yes, and I replied to that. It’s not really an alternative to an actual video download.

It’s not the raw video file, you can only access it from the app or website, and there’s restrictions on how long you can be offline before the app/website will stop you from watching it.

Re:They Bypass YouTube Video Download Throttling by leshenka on Monday August 14, 2023 @05:07AM (#37118944)
You can't get .mp4 though. It's there somewhere inside YT app's persistent storage but there is no "share" button for it.
Re:They Bypass YouTube Video Download Throttling by leshenka on Monday August 14, 2023 @05:05AM (#37118934)
Premium is not available worldwide.

I tried to trick google by creating an account using VPN in Europe. I even managed to subscribe for Premium. Even with an active Premium subscription Youtube app won't let me use its features such as downloading, background play and picture in picture (you know, basically everything)

Because "you live in the wrong part of the world". Creating a problem, selling the solution is what they do.

Like, I don't even care about downloading, but Google intentionally cripples their mobile website experience by suppressing pip and background play. It would cost zero dollars not to do this but they did.

Re:They Bypass YouTube Video Download Throttling by abwizz on Monday August 14, 2023 @05:28AM (#37119066)
wow! just use a real computer and be done with it. this reads like some normie complaining to his isp because the wifi sucks.

drop yt-urls into mpv with ytdlp backend, works for like a decade barring the occasional breakage of ytdl.

Re:They Bypass YouTube Video Download Throttling by leshenka on Monday August 14, 2023 @06:02AM (#37119239)
Most of my grievances are related to mobile experience so I'm not sure why are you talking about mpv.

I barely have any problems in desktop because issues like no pip and background play just don't exist there.

Re:They Bypass YouTube Video Download Throttling by Aachen on Monday August 14, 2023 @09:43AM (#37120915)
Not sure what part of not using your suggested command line tools but wanting to just use the official version like everyone else warrants calling someone openly stupid
Re:They Bypass YouTube Video Download Throttling by whywhywhywhy on Monday August 14, 2023 @08:35AM (#37120317)
Baffling they enforce those fake restrictions in parts of the world the product to enable them doesn't exist.

The fact Apple allows Google to resell their multitasking and PIP features as part of their own subscription is pretty un-Apple.

Re:They Bypass YouTube Video Download Throttling by wazoox on Monday August 14, 2023 @05:34AM (#37119098)
A very long time ago, I've worked on a Perl script to do just that ( https://www.perlmonks.org/?node_id=636777 ). Of course the problem with this sort of scripts is that they keep chasing behind changes youtube makes precisely to prevent video downloading.
Re:They Bypass YouTube Video Download Throttling by rasz on Tuesday August 15, 2023 @09:34PM (#37141735)
Yes, by injecting my own userscript using my (judging by WEI not for long) USER AGENT. I dont even screw around reimplementing their signature/n decoding/throttling functions, I grep for player.js match(/(?:player\/([a-zA-Z0-9_-]+)\/)?(?:html5player|(?:www|player(?:_ias)?))[-\.]([^/]+?)(?:(?:\/html5player(?:-new)?)?|(?:\/[a-z]{2,3}_[A-Z]{2})?\/base)\.js/), then grep in that for relevant functions and call those directly. You could say that from YT perspective everything is 100% kosher, its their own DRM functions unlocking .mp4 link for me :)