News for hackers. Stuff that matters.
Re:Youtube-dl by anw on Sunday November 23, 2014 @02:51AM (#8648112)
Or even shorter:

youtube-dl -x --audio-format mp3 OKbtC223e30

Re:Youtube-dl by Strom on Sunday November 23, 2014 @02:56AM (#8648121)
In general youtube-dl is great, but that short id input handling is broken, as evidenced by this:

  youtube-dl -x --audio-format mp3 -fCtvurGDD8
Re:Youtube-dl by phihag_ on Sunday November 23, 2014 @04:55AM (#8648307)
As others have pointed out, you'll need -- in this case. However, there's really no reason why youtube-dl should not detect this common problem (we also try to detect when users forget to quote URLs with ampersands). Update to youtube-dl 2014.11.23.1 or newer and try this again ;)

By the way, the GitHub issue tracker (https://yt-dl.org/bug ) is usually a better place to report issues. But just for youtube-dl reaching #1 on HN, I'll make an exception.

Re:Youtube-dl by ekimekim on Sunday November 23, 2014 @03:09AM (#8648141)
Like many tools, youtube-dl supports a -- flag to indicate "the remaining arguments are not flags". So your example would work as:

    youtube-dl -x --audio-format mp3 -- -fCtvurGDD8
Re:Youtube-dl by rossy on Sunday November 23, 2014 @03:08AM (#8648140)
Because it interprets video IDs that start with a dash as short options? This should be better:

  youtube-dl -x --audio-format mp3 -- -fCtvurGDD8