curl-users
Re: Curl - globbing error
Date: Tue, 09 Aug 2016 00:49:00 +0000
> On Mon, Aug 8, 2016 at 7:57 PM, GNUser <gnuser_at_openmailbox.org> wrote:
>
>> Hello everyone,
>>
>> So I tried to use curl to download this link
>> (https://archive.org/download/TheNiceGuys20161080pYTS.AG/
>> The.Nice.Guys.2016.1080p.BluRay.x264-[YTS.AG].mp4)
>> and it gave me this error (curl: (3) [globbing] bad range in column 99).
>> I understand it has something to do with the "-[" part of it. Any ideas
>> how to solve it?
>>
>
> Try escaping the square brackets and put single quotes around the whole URL:
>
> 'https://.......\[YTS.AG\].mp4'
>
> Ralph Mitchell
>
>
>
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-users
> FAQ: https://curl.haxx.se/docs/faq.html
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
Hello Ralph,
Thanks! That worked like a charm.
Should it be considered a bug and fixed in a future release?
GNUser
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-08-09