bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] wget different from browser


From: Pär Karlsson
Subject: Re: [Bug-wget] wget different from browser
Date: Tue, 24 May 2016 07:49:01 +0200

Hi Marco,

The page is protected by basic authentication, so I could not test it
myself.

But it seems to me the URL parameters might be malformed.

Normally each key/value parameter is separated by the '&' character, and
unless the server does its own parameter parsing it can't understand the
URL.

Now, the browser might silently expand the GET URL into a proper format and
it "just works", but wget only does exactly what you ask it to.

Try to replace each ';' in the URL to a '&' and see what happens:

http://data.icecat.biz/xml_s3/xml_server3.cgi?prod_id=4347B007,8576B064&vendor=canon&lang=IT&output=productcsv

Best regards,

/Pär
On May 24, 2016 1:26 AM, "Marco Barbieri" <address@hidden> wrote:

> hi , my name is Marco,
>
> i'm trying to download the csv returned from icecat.biz.
>
> example:
>
>
> http://data.icecat.biz/xml_s3/xml_server3.cgi?prod_id=4347B007,8576B064;vendor=canon;lang=IT;output=productcsv
>
> in the browser this will return a text file as csv,
> wget return an xml, which could be good enogth except for the language, i
> ask it, xml is in en :(
>
> could you help me?
>
> thanks
> Marco
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]