Live data from Hacker News

Yt-dlp – A YouTube-dl fork with additional features and fixes

github.com

261–270 of 352 posts

Re: Yt-dlp – A YouTube-dl fork with additional features and fixes

#261

Earlier quoted context omitted.

As much as I like this feature, it is scary on the other side how easy it is to essentially steal cookies - what yt-dlp can, so can malware. Why don't OSes have some sort of system-wide secret store linked to an user's account (like the macOS Keychain) and an application's code-signing certificate? That would at least prevent easy file-dump attacks, moving the barrier to "execute something in the browser process cont…

1. Other OSes (at least linux) have user keychains. 2. Once malware is running as your user, how do you expect to protect against that even with a keychain? They can log all your keystrokes, extract certificates and keys from applications running as your user or anything your user has access to, etc. 3. How are you going to support different keychains on different OSes? And what happens when they diverge? Say Apple g…

> 2. Once malware is running as your user, how do you expect to protect against that even with a keychain?

A kernel-backed mechanism could enforce that access to the secret decryption syscalls can only be done from untampered signed processes.

Assuming an user has a distinct login password they are not using anywhere else and the public key of the codesign certificate is part of the kernel-side secret, a malware has no chance of getting access to the secret, unless it exploits a code execution vulnerability in the target program.

> How are you going to support different keychains on different OSes?

A minimal interface with three calls: 1) create/delete a kernel-side secret, 2) encrypt a secret using a key derived from the user's keychain and the application's public key, 3) decrypt a secret using said key.

Android brings such an API (KeyStore), macOS' Keychain should support something like that via its ACL feature. Where additional work is needed is Windows (its DPAPI only protects secrets from other users, apps can get other apps' secrets by design to implement SSO) and Linux (which doesn't have any way to verify in the kernel if an application has a code signature).

Browsers and other apps wishing to protect secrets from malware could use an abstraction layer that uses the best available mechanism on each platform, the three operations should be enough for this purpose.

Re: Yt-dlp – A YouTube-dl fork with additional features and fixes

#263

Earlier quoted context omitted.

Until they see they get very little ROI and stop advertising that way. It's not like people sponsoring aren't looking to see what these channels do for them and just spend blindly...

In the 1940s and 1950s radio programs and eventually television shows were sponsored by advertisers. soap operas get their name for being vehicles for soap companies. Off the top of my head Fitch's soap company was a big advertiser in the 40s. Another big advertiser in the forties and fifties was rexall. I don't know what the return on investment was, I always figured they did it as a way to show that they supported…

I've long known this, but not how they used it to advertise -- was it product placement, pre-roll, being the only mid-roll adverts??

Re: Yt-dlp – A YouTube-dl fork with additional features and fixes

#264

Why can't YouTube and Alphabet simply provide a download button or a public API? When you are running the worlds largest digital museum of rare video footage, you have some obligations to the society.

Apparently, copyright law makes this an unwise proposition. But the least they could do is offer the Internet Archive with some privileged access so all this can be mirrored and viewed when it's out of copyright in 80 years.

Re: Yt-dlp – A YouTube-dl fork with additional features and fixes

#265

Why can't YouTube and Alphabet simply provide a download button or a public API? When you are running the worlds largest digital museum of rare video footage, you have some obligations to the society.

Can't run ads on them, and you risk lawsuits of all kind if you let people easily download copyrighted content. They aren't running a museum, it just happens to be the largest video sharing platform on the planet.

Re: Yt-dlp – A YouTube-dl fork with additional features and fixes

#266
post #168

Earlier quoted context omitted.

> YouTube needs to make a way for creators to label the sponsor sections and it skips it for Premium users I have to imagine it wouldn't be long before some clever sponsor offers extra money not to mark their sections...

Solution: a report ad button for Premium subscribers. Once a significant (number && percentage) of users report it kt is flagged, - first to the creator - and then shortly afterwards - if the creator does not either fix it or verify it - to a review team or even to a customer panel Some logic can be applied to filter out abuses of the system by: - looking for reports by new viewers of this channel (brigading) - dismi…

Surely as soon as you have this there'll be a service to leak the time codes to non-subscribers so embeds, yt-dl's forks, etc. can auto-skip.

Re: Yt-dlp – A YouTube-dl fork with additional features and fixes

#267

One of the nice features added to yt-dlp recently: It integrates with sponskrub to call into the SponsorBlock database and with the right options will strip the sponsor segments from downloaded videos. Edit: Correct typo

Are the sponsor parts really so bad? To me not only is it easy to skip, I want indie people to make enough money to produce high quality content; otherwise media is just what a few biggies want to fund. They’re not enough from YouTube itself unless you’re in the top percentile. Also what sponsored content are people downloading versus just streaming live? I don’t get the use case.

At first I saw the sponsor segments, later it became too repetitive so I started doing the double-touch action (skip 10 or 20 seconds forward) when a video would start talking once again about the VPN service of the month (really, it seems to always be VPN services!), and later I ended up having to actually pause the video, scroll forward even a couple minutes (some sponsor segments have gone wild in duration lately).

Then I started using[1] SponsorBlock, and now we're back at square 0.

[1]: I had known about it for a long time but didn't feel like using it, until I did (or you can see it as "they made me feel like using it"...)

Re: Yt-dlp – A YouTube-dl fork with additional features and fixes

#268

> NEW FEATURES > Cookies from browser: Cookies can be automatically extracted from all major web browsers using --cookies-from-browser BROWSER[:PROFILE] Very nice. Having to manually copy cookies to get past login walls is annoying.

As much as I like this feature, it is scary on the other side how easy it is to essentially steal cookies - what yt-dlp can, so can malware. Why don't OSes have some sort of system-wide secret store linked to an user's account (like the macOS Keychain) and an application's code-signing certificate? That would at least prevent easy file-dump attacks, moving the barrier to "execute something in the browser process cont…

If you really need security through isolation, have a look at Qubes OS.

Re: Yt-dlp – A YouTube-dl fork with additional features and fixes

#269
post #42

Earlier quoted context omitted.

> Are the sponsor parts really so bad? To me not only is it easy to skip, I want indie people to make enough money to produce high quality content; otherwise media is just what a few biggies want to fund. In my experience, it's the same with ads everywhere else. It (usually) starts out not being overly obnoxious, with just a "this video is sponsored by [garbage tier mobile game/earphones/vpn/whatever] more about them…

Map Men do great sponsor parts, actually entertaining to watch. I find the same with christmas adverts each year - I don’t do tv, but go out of my way to watch the adverts and get in the festive mood come December.

I find their sponsor parts to be obnoxious enough to deter from watching their videos when a new one comes out :/

Re: Yt-dlp – A YouTube-dl fork with additional features and fixes

#270

Why can't YouTube and Alphabet simply provide a download button or a public API? When you are running the worlds largest digital museum of rare video footage, you have some obligations to the society.

Can't run ads on them, and you risk lawsuits of all kind if you let people easily download copyrighted content. They aren't running a museum, it just happens to be the largest video sharing platform on the planet.

> it just happens to be the largest video sharing platform on the planet.

china might want to disagree

Post reply on HN