Re:YouTube-dl: Open-source YouTube downloader
by nathyong on Saturday April 09, 2016 @10:23AM
(#11461326)
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
Re:YouTube-dl: Open-source YouTube downloader
by JadeNB on Saturday April 09, 2016 @06:03PM
(#11463561)
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 <http://gnu.org/licenses/gpl.html>
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 =
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:
I guess that some alias is grabbing some part of the URL string.