16 ms·
YouTube-dl is under new management, will be happy to see new PRs
- maxnoe 5y agoThe 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 https://github.com/yt-dlp/yt-dlp
- Operyl 5y agoYeah that’s completely nuts to me, I’ll continue to recommend yt-dlp for the significant future.
- TowerTall 5y agoIs there any GUIs for yt-dlp?
- Operyl 5y agoI tried https://github.com/axcore/tartube https://github.com/axcore/tartube some time ago and it worked. I mostly use the command line though, it’s really simple.
- llacb47 5y agohttps://github.com/oleksis/youtube-dl-gui https://github.com/oleksis/youtube-dl-gui
- prox 5y agoCommand 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.
- Cyberdog 5y agoYou'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 https://www.youtube.com/watch?v=dQw4w9WgXcQ'
- Operyl 5y agoThis is one of my favorite things I don’t have to worry about with zsh + oh-my-zsh, pasted URLs being auto quoted.
- kevin_thibedeau 5y agoUnquoted 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.
- derimagia 5y agoIt's mainly the "&" which does it, which is pretty common.
- deleted 5y ago[deleted]
- btdmaster 5y agoWebm 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.
- solarkraft 5y agoMP4 (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).
- arvigeus 5y agoSearch for yt-dlp on flathub. There was a GUI for it, but it is too generic to remember it now. VideoDownloader?
- cercatrova 5y agohttps://www.svp-team.com/wiki/Manual:SVPtube https://www.svp-team.com/wiki/Manual:SVPtube Paid generally but there's a legacy free version for YouTube and Vimeo it says.
- database64128 5y agoA small project of mine: https://github.com/database64128/youtube-dl-wpf https://github.com/database64128/youtube-dl-wpf It uses WPF so it can only run on Windows though.
- Handytinge 5y agoMaybe. But who cares? It's an open source project, if someone wants to maintain support for older software, good for them. If people don't like it they can fork and move on (and they have). I don't understand the complaints and attacks in the github comments. It seems bizarre and egotistical to me to yell at a stranger who is providing you their work for free because you don't agree with their specific use case.
- itake 5y agoI think the original project isn't actively maintained any more: https://github.com/ytdl-org/youtube-dl/graphs/commit-activity https://github.com/ytdl-org/youtube-dl/graphs/commit-activit... 910 PRs, but only 3 commits to master since July 2021.
- Cyberdog 5y agoTo 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.
- solarkraft 5y agoAs far as I know current Python distributions are pretty available for older systems.
- mananaysiempre 5y agoIf 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).
- nyuszika7h 5y agoyt-dlp currently has no plans to drop support for Python 3.6, which became EOL a month ago. And Python 3.8 will be supported until October 2024. On Linux (at least a regular x86/x86_64 machine, not sure about other architectures), you can generally easily install an up to date Python version with pyenv.
- mananaysiempre 5y agoMy personal machine is on Arch Linux (which recently moved to 3.10 without any major problems) and I know about yt-dlp, so I’m not having any particular problems here :) It’s just that the great-grandparent asked for plausible scenarios for using obsolete Python, and Windows 7 support immediately came to mind.
- nixgeek 5y agoWindows 7 was also EOL in January 2020. I’m not sure I blame Python 3.9 for failing to support an EOL operating system either.
- superkuh 5y agoOne 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.
- classichasclass 5y agoExactly. I still supported Perl 5.005 with a number of my projects for precisely that reason. Even now I still try to target around 5.6 or 5.8, despite being quite old.
- deleted 5y ago[deleted]
- IronWolve 5y agoI'm using yt-dlp, and a very small change really made me go "cool" is Color numbers.. I just wish for functions I could pick mid 720p'ish as a setting that includes audio+video, and not have to pick the audio and video formats. Theres a worst and a best option, but I'd want a middle quality to save space.
- makeworld 5y agoYou can totally do that! See the section on Format Selection[0]. From my reading of it, doing this would work for what you want: -f 'bv*[height<=720]+ba/b[height<=720]' [0] https://github.com/yt-dlp/yt-dlp#format-selection https://github.com/yt-dlp/yt-dlp#format-selection
- emptybottle 5y agoAlias that to -f 720ish and we’re getting somewhere
- 1una 5y agoMaybe you are looking for -S res:720 https://github.com/yt-dlp/yt-dlp#sorting-formats https://github.com/yt-dlp/yt-dlp#sorting-formats
- haunter 5y agoYou can do that with the arguments (bestvideo[height=720]/bestvideo)+bestaudio/best bestvideo[height=720] = download the best 720p resolution /bestvideo = otherwise download the best available (540p, 480p etc)
- haunter 5y agoI wish any of the projects would implement a feature to download parts of a video. Currently that's not possible Request is open since 2013 https://github.com/ytdl-org/youtube-dl/issues/622 https://github.com/ytdl-org/youtube-dl/issues/622
- nyuszika7h 5y agoIt's possible with yt-dlp: --downloader ffmpeg --downloader-args "ffmpeg_i:-ss start_time -to end_time" Though the ffmpeg downloader is quite slow and has no parallelization.
- dylan604 5y agoI have no idea what the code looks like for ytdl, but the concept seems straightforward enough for DASH/HLS segmented encodes. Determine the duration of each segment, do the math to find which segments would be required for the requested part, then do ytdl magic. I'd be more than happy to be forced to have a few seconds before/after the requested time just to avoid the necessity of breaking segments. Just straight download/concat. We all know how well concept to working code goes though
- matvp 5y agoNot so sure that'll work due to the fact that the first segment in a subset of segments is not the init segment (thus missing atoms like moov, ...)
- thenthenthen 5y agoJust cut it with ffmpeg? Ok you will have to download the whole thing first... but yeh
- stjohnswarts 5y agoI would think a great place to see changes would be to go see what yt-dlp has been up to during the time of prior management because it certainly works better currently. Surely it wouldn't be too hard to pull some of those changes over.
- sergiotapia 5y agoMassive thank you to the original author and the original youtube-dl. Wonderful piece of software! However it's been too long - isn't yt-dlp very far ahead and much healthier in it's organization _today_? Also the insistence of using a dead version of Python is pretty strange and will probably hamstrings the efforts for very minimal gains.
- Maursault 5y agoThis is a post about youtube-dl. Why are nearly all the comments about yt-dlp? If I didn't know better, I'd think yt-dlp users have massive inferiority complexes because they never seem to miss an opportunity to attempt to recruit everyone else to be just like them, even shamelessly trolling the announcement. When did this turn into Ford vs. Chevy?
- yokoprime 5y agoTrolling? Some are commenting that keeping the project alive to support old versions of python seems like a weak reason, which is a fair criticism IMO.
- Maursault 5y agoMy apologies, I didn't remotely intend to suggest every single comment was a troll, but only that there are yt-dlp users that have trolled that thread. The criticism of supporting python2 is fair, but not unassailable. I am personally against steady progress necessarily breaking in advancing increments things that worked years ago. My opinions on software are my own, but I strongly believe if software works even once, there's no reason it shouldn't work forever. I despise Adobe's and now Apple's models of breaking your old software to force you to purchase again for identical functionality. But I suppose it is a different case when developers are actively working against each other. However, python2 was only recently deprecated. Just because I can't think of an example, it is still likely being used, and there may be 20yo but still useful hw somewhere that does not support any recently released OS or software but is still a worthy youtube-dl utility. Maybe the critics of supporting old versions of python can wait.
- nyuszika7h 5y agoDepends on what you mean by "recently". Python 2 has been EOL for over two years now. The lowest version yt-dlp supports, Python 3.6, was released five years ago, and I would say it's a pretty usable version. The only reason it even took so long for Python 2 to become EOL is because people kept dragging out the transition from Python 2 because of a few annoyances in initial versions of Python 3 that were mostly addressed by 3.3-3.4 or so.
- lowdose 5y agoUsed it today for downloading some of Red Bulls content showing human pushing their body to the max. Those base jumpers in flysuits are so crazy I actually think about doing it myself. Flying as a pink elephant in the weekend.
- tempuserdel11 5y agoCould someone make a fork please which works for PornHib as well? :D