[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: youtube video downloader for chrome



On Wed, 20 Mar 2019, Greg Wooledge wrote:

On Wed, Mar 20, 2019 at 10:34:42AM +0100, Pierre Frenkiel wrote:
On Tue, 19 Mar 2019, riveravaldez wrote:

Maybe worth mentioning: youtube-dl, exceptionally useful and simple CLI tool.

  useful and simple... but it works only for urls with alphanumeric characters
  I tried with an url containing ? and &, and I got nothing

You probably forgot to quote the URL in your shell command.  If you don't
quote it, the & is special to the shell and will cause the command to
be split at that point, with the first half being run as a background
command, and the second half being run as a foreground command.

  I tried also by escaping ? and & with \, and it was not better.
  I'll send you an example later, if you are not convinced...

That should work.  An example of the failure would be helpful.

Generally speaking, though, just wrap the whole URL in single quotes
and you should be fine.

 Greg,
 I don't really understand your mail:
 in the 1st part, you tell me to quote the URL
 in the 2nd one, you seem aware that I actually did that
 BTW, escaping with \ or quoting the whole URL with '
 gives the same thing
 I'll send later the history of all my tries.


Reply to: