Live data from Hacker News

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

github.com

131–140 of 352 posts

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

#131

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.

Bad? No, not really. If you ask me, (almost?) nothing is inherently bad. But it's a nice and obvious feature to skip them if you want, so it's pretty amazing that such options are possible now. (However, I don't think I'll use it, because there is an mpv plugin for that, and it feels pretty weird, to actually skip parts of the video when downloading. I mean, what if I'll need it one time: do I have to re-download the video?)

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

#132

Earlier quoted context omitted.

I'll add another wrinkle: I like content-creators that create for the love of doing it and not to try and turn it into a business. When I follow a YouRuber (I'm borrowing that typo, I like it) and have seen them descend into the paid/promotional arena, I have been turned off and stopped subscribing to their channel. Advertising tends to naturally weed out, for me, the ones who are not as passionate about what they do…

Preface: I am a Youtuber who prefers not to do sponsored segments but has done some in the past. > Advertising tends to naturally weed out, for me, the ones who are not as passionate about what they do. This is a remark I see over and over again, basically "You're only in it for the money" once you do sponsors. Here's the thing that no one really gets, Youtube is not a hobby. I don't care what the channel topic is, b…

YouTube is not a hobby? Interesting. I don't think I ever thought it was. I guess I consider it closer to art.

Plenty of musicians, artists perform/create with no prospect of monetary gain. They do it for the accolades. They do it for the positive feedback. They do it because they have to: they're artists.

I suspect YouTubers like "Applied Science" are artists of a sort. I guess I'm drawn to YouTube artists.

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

#133
post #43

Earlier quoted context omitted.

That is mostly already the case, you can invoke the extractors through the Python API or through the CLI and do the download yourself. Extractors regularly require custom logic, so they can’t be described in anything else than a programming language.

Being two different projects has advantages, especially when one part (need to) moves much faster. The fact that some requires custom logic doesn't prove that you need a programming language, it is just custom logic compared to the standard framework.

If you’re implementing custom logic, why not just make it easy on yourself and use a proper programming language. Trying to invent custom logic systems gives us cmake.

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

#134

> 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…

Linux does right? I believe this is how android works but you can set something up manually by creating a seperate user and changing the permissions on the browser cache/data folder, then run the browser as one user and yt-dlp as a seperate one.

There might be a more modern and streamlined solution for Linux, but in Windows land they also introduced Controlled Folder Access into defender.

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

#135

Thanks for this post! First I am hearing about this fork! Darn...unfortunately still can't download Joe Rogan Spotify. Guess they haven't found a way around the widevine encryption...(Right now it seems like only a few podcasts are encrypted so other Spotify streams work)

It's always strange to think that there is encrypted data flowing through my software, through my operating system, into my hardware, that somehow I, the user, I am unable to access, but that the hardware can handle just fine. How does this work?

One way is x86. Intel’s chips have SGX (software guard extensions) that allows code to run in “enclaves” that outside code can’t access. You can send data into the enclave and read what it spits out, but you can’t inspect (debug) it.

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

#136
Not currently available for installation via Homebrew for macOS, as opposed to youtube-dl and youtube-dlc both of which can be installed via Homebrew.

However, there is an open pull request for it from just a few hours ago https://github.com/Homebrew/homebrew-core/pull/84049

So here's to hoping it'll be available there soon :D

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

#137

> 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.

I was recently looking for a library that did this and couldn't find anything nice. I was surprised but also slightly disappointed to see that yt-dlp has essentially rolled their own (cookies.py [1]).

[1] https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/cookies....

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

#139
post #138

How much to get a way to block “hey guys” at the start of a video?

Sponsorblock can skip sponsors, self-promos, subscribe reminders, intro animation, and end credits. (crowd-sources the timestamps)

https://sponsor.ajay.app/

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

#140

haven't paid attention to this since all the drama last year but again - what are all of you using youtube-dl for? Archiving your channel subs?

Literally everything.

1. I download whole channels if there's a series I want to watch.

2. I download music, since youtube is a really quite nice music library.

3. I download long videos before I watch it, because it's just more pleasant to rewind the thing when it's already on your SSD. Also, it won't freeze spoiling a beautiful scene because of some stupid WiFi problem.

4. Even if I don't download it before watching, I still use mpv to watch it, which uses youtube-dl internally, because mpv is a much nicer video-player than what you can have in a browser.

And I'm sure I forgot some important use-cases. Browsers are evil, js-apps are stupid, don't use them, if you can.

Post reply on HN