Live data from Hacker News

YouTube-dl: Open-source YouTube downloader

rg3.github.io

311–320 of 338 posts

Re: YouTube-dl: Open-source YouTube downloader

#311
post #140
post #137

Earlier quoted context omitted.

> Currently Google Chrome is giving a malware warning just because you have an .exe So how should one make available for download windows executables?

Is this detection working for msi or zip files?

Yes.

Re: YouTube-dl: Open-source YouTube downloader

#313
post #235

Initial commit is from 2008. I think title should be updated to reflect the initial year, since this is not a new project. I've been personally using this for many years.

Actually, the project started as far back as 2006 and moved to git in 2008, hence the first commit having that date. I don't remember the exact day I started the project, but on freshcode (formerly freshmeat), the first listed version is 2006.08.08.

thank you. I was careful to word my sentence to not imply that the project was necessarily started in 2008.

Re: YouTube-dl: Open-source YouTube downloader

#314
post #305

Earlier quoted context omitted.

Very strange. Perhaps it's some setup- or platform-dependent thing; I will file an issue. Thanks for checking! EDIT: Very strange; I thought I'd give a try to what seemed a throwaway comment in your post, about quoting the string, and that fixed it. Thanks! Without the double quotes (which seemed to be unnecessary for you), I still get: $ youtube-dl https://www.youtube.com/watch?v=wbKJt1NQtZE Usage: youtube-dl [OPTIO…

It's possible your shell has some kind of regular expression magic enabled that is eating the '?' and the '=' characters: $ echo youtube-dl https://www.youtube.com/watch\?v\=wbKJt1NQtZE youtube-dl https://www.youtube.com/watch?v=wbKJt1NQtZE $ echo youtube-dl https://www.youtube.com/watch?v=wbKJt1NQtZE zsh: no matches found: https://www.youtube.com/watch?v=wbKJt1NQtZE

Interesting! It seems that my `echo` is eating any substrings involving `?`.

    $ bash --version
    GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin13.4.0)
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later 

    This is free software; you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    $ echo a ? = =?
    a =

Re: YouTube-dl: Open-source YouTube downloader

#315
post #294
post #226

Earlier quoted context omitted.

As it was pointed out the first time youtube-dl was on Hacker News, our user base seems to be split regarding that behavior. When you copy a URL from a playlist, the URL includes both the video id and the playlist id. Some people want to download the whole playlist when passing a URL from one of the videos (because otherwise it's hard to get an URL that contains just the playlist). Some other people just want to down…

Why not drop to a "did you want the playlist, or just this video?" prompt? Side-benefit: force care to be taken to be explicit if used in a script. Personally, without reading any docs the first thing I did was paste in just a video ID (i.e. not the entire URL) so it seems natural to me that including both would be ambiguous.

> Why not drop to a "did you want the playlist, or just this video?" prompt?

Introducing breaking changes like this are no longer an option once your program has more than 5 users.

In addition, well-behaved command line programs aren't supposed to gratuitously prompt for input anyway.

Re: YouTube-dl: Open-source YouTube downloader

#316
post #28

The tragedy of this software (and many like it) is that despite working exactly as advertised, easily and with a lot of features, because it's a quiet open source project without any SEO rigging it will never appear in page 1 of any searches by laymen trying to download videos ("save youtube to hard drive", "download youtube videos" et al). The amount of crapware I've had to remove from family member's PCs just becau…

I treat youtube-dl like Fight Club. I am glad it isn't on the top of searches since I am afraid sites would start trying to stop it from working harder.

I think most video download sites use youtube-dl on the backend so they should already be doing that.

Re: YouTube-dl: Open-source YouTube downloader

#317
post #269

Earlier quoted context omitted.

-f best It's in the documentation.

no, that's the highest format, not the highest format that will download in one file, as opposed to two which have to be merged, meaning playing .part files is impossible

Are you saying the documentation is wrong? And not once but twice:

    You can also use special names to select particular edge case format:
    
    * best: Select best quality format represented by
            single file with video and audio

 
And again:

> Since the end of April 2015 and version 2015.04.26 youtube-dl uses -f bestvideo+bestaudio/best as default format selection (see #5447, #5456). If ffmpeg or avconv are installed this results in downloading bestvideo and bestaudio separately and muxing them together into a single file giving the best overall quality available. Otherwise it falls back to best and results in downloading the best available quality served as a single file

Re: YouTube-dl: Open-source YouTube downloader

#319
post #35

Earlier quoted context omitted.

It's not easy because it's an command line. Not a single family member would touch this here. It's sad but understandable.

I threw this together for the less savvy #!/bin/bash clear youtube-dl -U echo " " echo "YouTube Downloader Script" echo "A video file will be created in the folder where this script is located" echo " " echo "Please paste a URL and hit [ENTER]:" read URL youtube-dl $URL Edit: youtube-dl -U only works if it was manually installed, so leave that out if you installed from apt or whatever

Equally as meaningless to every average user. People on HN/github/etc generally just don't understand what it means to be a non-technical user.

Re: YouTube-dl: Open-source YouTube downloader

#320

Earlier quoted context omitted.

I don't think it's a tragedy because if it was very popular and easy to use YouTube would likely block it. It's directly competing with their own YouTube Red. Also look at popular Linux distros like Ubuntu. As soon as they reach mass market they lose what made them special to begin with and start experimenting with advertising and so on.

> Also look at popular Linux distros like Ubuntu. As soon as they reach mass market they lose what made them special to begin with and start experimenting with advertising and so on. Well, ubuntu is a company. It was always their intention to become profitable at some point, even if they were willing to operate at a loss to build their market. I very much doubt debian would go the same way if it got the same level of…

> Well, ubuntu is a company.

A minor nitpick: Canonical is a company, Ubuntu is their (main) product.

Post reply on HN