Live data from Hacker News

YouTube-dl is under new management, will be happy to see new PRs

github.com

21–30 of 62 posts

Re: YouTube-dl is under new management, will be happy to see new PRs

#22
post #13

Earlier quoted context omitted.

Command is insanely simple (and I don’t use a lot of shells normally) Copy your youtube url Go to your command shell yt-dlp -v pasted url Watch the download. Done.

You'll want to surround the pasted URL with quotes, or else the question mark in all non-shortened YouTube video URLs will confuse the shell. Also, I suggest adding `-f mp4` to avoid getting a video in Google's proprietary video format. (Yes, I know, but basically…) yt-dlp -f mp4 ' https://www.youtube.com/watch?v=dQw4w9WgXcQ '

Webm is quite a nice format actually, it's a subset of MKV that gave a good target for browser developers. The fact that patent-encumbered h264 is the only codec that is hardware-accelerated across devices is an entirely different issue.

Re: YouTube-dl is under new management, will be happy to see new PRs

#23
post #2

The reason to continue the project and not focus together on the more maintained fork [1] is to keep support for python 2.6 and 3.2? In 2022? For a thing that is made to talk to the internet? Python 2.6.7 was released in 2011. Python 2.x overdue EOL was in 2020. Python 3.2.6 was released in 2014. That's has to be one of the worst reasons for duplicating efforts ever. [1] https://github.com/yt-dlp/yt-dlp

To play the devil's advocate… one of the uses of youtube-dl is to grab a video so it can be watched on lower-spec machines that might not be able to handle playing a YouTube video in a web browser. Such machines might also be stuck on older operating system releases which don't have easy access to cutting edge Python distributions. That's just my guess at the logic here, anyway.

As far as I know current Python distributions are pretty available for older systems.

Re: YouTube-dl is under new management, will be happy to see new PRs

#24
post #3

Earlier quoted context omitted.

Yeah that’s completely nuts to me, I’ll continue to recommend yt-dlp for the significant future.

Is there any GUIs for yt-dlp?

https://www.svp-team.com/wiki/Manual:SVPtube

Paid generally but there's a legacy free version for YouTube and Vimeo it says.

Re: YouTube-dl is under new management, will be happy to see new PRs

#25
post #13

Earlier quoted context omitted.

Command is insanely simple (and I don’t use a lot of shells normally) Copy your youtube url Go to your command shell yt-dlp -v pasted url Watch the download. Done.

You'll want to surround the pasted URL with quotes, or else the question mark in all non-shortened YouTube video URLs will confuse the shell. Also, I suggest adding `-f mp4` to avoid getting a video in Google's proprietary video format. (Yes, I know, but basically…) yt-dlp -f mp4 ' https://www.youtube.com/watch?v=dQw4w9WgXcQ '

MP4 (H.264/H.265) is the proprietary one. WebM (VP8/VP9) is open and royalty free (as is the upcoming AV1).

Less commonly supported though, most notably by Apple and some TVs (quite import for that use case).

Re: YouTube-dl is under new management, will be happy to see new PRs

#26
post #13

Earlier quoted context omitted.

Command is insanely simple (and I don’t use a lot of shells normally) Copy your youtube url Go to your command shell yt-dlp -v pasted url Watch the download. Done.

You'll want to surround the pasted URL with quotes, or else the question mark in all non-shortened YouTube video URLs will confuse the shell. Also, I suggest adding `-f mp4` to avoid getting a video in Google's proprietary video format. (Yes, I know, but basically…) yt-dlp -f mp4 ' https://www.youtube.com/watch?v=dQw4w9WgXcQ '

mp4 files returned by youtube are of a lower quality than webm files.

Re: YouTube-dl is under new management, will be happy to see new PRs

#27
post #16

Earlier quoted context omitted.

You'll want to surround the pasted URL with quotes, or else the question mark in all non-shortened YouTube video URLs will confuse the shell. Also, I suggest adding `-f mp4` to avoid getting a video in Google's proprietary video format. (Yes, I know, but basically…) yt-dlp -f mp4 ' https://www.youtube.com/watch?v=dQw4w9WgXcQ '

This is one of my favorite things I don’t have to worry about with zsh + oh-my-zsh, pasted URLs being auto quoted.

Unquoted URLs with '?' work fine in bash. It's not like it's common to have files named with a URL that could confuse a glob expansion.

Re: YouTube-dl is under new management, will be happy to see new PRs

#28
post #2

The reason to continue the project and not focus together on the more maintained fork [1] is to keep support for python 2.6 and 3.2? In 2022? For a thing that is made to talk to the internet? Python 2.6.7 was released in 2011. Python 2.x overdue EOL was in 2020. Python 3.2.6 was released in 2014. That's has to be one of the worst reasons for duplicating efforts ever. [1] https://github.com/yt-dlp/yt-dlp

One of the primary, if not the most important, youtube-dl use cases is older computers and older installs that cannot handle modern youtube javascript. By not running javascript at all most of the security issues on the modern web can be mitigated. There are lots of responsible people out there running old software. And even more people who are just poor and can't afford the new hardware required for new OSes required for new browsers.

Re: YouTube-dl is under new management, will be happy to see new PRs

#29
post #2

The reason to continue the project and not focus together on the more maintained fork [1] is to keep support for python 2.6 and 3.2? In 2022? For a thing that is made to talk to the internet? Python 2.6.7 was released in 2011. Python 2.x overdue EOL was in 2020. Python 3.2.6 was released in 2014. That's has to be one of the worst reasons for duplicating efforts ever. [1] https://github.com/yt-dlp/yt-dlp

To play the devil's advocate… one of the uses of youtube-dl is to grab a video so it can be watched on lower-spec machines that might not be able to handle playing a YouTube video in a web browser. Such machines might also be stuck on older operating system releases which don't have easy access to cutting edge Python distributions. That's just my guess at the logic here, anyway.

Yup, some of the volunteers at a school I help setup a solution to allow videos to be used in school.

Google is pretty lacking at offering meaningful content controls. We could easily get grants to pay a few thousand bucks for that. It’s weird they don’t considering their ownership of K-12 and potential for revenue.

Re: YouTube-dl is under new management, will be happy to see new PRs

#30

Earlier quoted context omitted.

To play the devil's advocate… one of the uses of youtube-dl is to grab a video so it can be watched on lower-spec machines that might not be able to handle playing a YouTube video in a web browser. Such machines might also be stuck on older operating system releases which don't have easy access to cutting edge Python distributions. That's just my guess at the logic here, anyway.

As far as I know current Python distributions are pretty available for older systems.

If we are speaking current distributions, Python 3.9 actively refuses to install on Windows 7 and dropped the relevant compatibility code (though I think 3.8 might have had problems installing on it as well).
Post reply on HN