[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] no data downloaded
From: |
Tim Rühsen |
Subject: |
Re: [Bug-wget] no data downloaded |
Date: |
Mon, 5 Feb 2018 17:32:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 02/05/2018 12:03 PM, jos vaessen wrote:
> Hello,
>
> I am downloading the home-webpage from my solar-power-converter using
> WIFI and its IP adress 160.190.0.1 with WGET. No problem beside that the
> page is zipped as 7ZIP. After unzipping it shows the content of
> index.html like a copy/paste/save home.html version on mouseclick using
> Firefox.
>
> BUT......
>
> Without the devicenumber, date, time, converted Watts, etc. So there is
> no variable data in the downloaded html using WGET.
>
> What I get is an empty html and the question is: what trigger to use to
> download these data too like Firefox or IE show on screen?
Either it's missing credentials (do you have to login with Firefox ?) or
cookies.
Some servers deliver content depending on the user agent (UserAgent:
header field set by the client).
To see what Firefox set in the request headers for your box, sniff with
Wireshark (search the web for instructions).
But first try with something like this:
--user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101
Firefox/58.0"
With Best Regards, Tim
signature.asc
Description: OpenPGP digital signature