If you do something like:
wget -bc --max-redirect=10000 file
And you collected the url by hitting = when you wound up on the link you
wanted to download and checked for the url: statement near bottom of
output and did a mark and cut operation on that url and then pasted that
into the wget command for file you would have wget probably write its
output to wget-log the first time and you could then run wc -l wget-log
every so often and make sure line numbers increase. When they don't
increase any longer, then it's time to do:
tail -3 wget-log to get the file name that was downloaded.
On Mon, 15 Aug 2016, John J. Boyer wrote:
Date: Mon, 15 Aug 2016 10:45:24
From: John J. Boyer <[email protected]>
To: [email protected]
Subject: [Lynx-dev] Problem when downloading *.gz files
When I use lynx to download a file with a gz extension and then try to
uncompres it with gunzip I get garbage. This has happened with html.gz
files. It does not happen with tar.gz files. If I download the file with
wget it uncompresses properly. But finding it with Lynx is much more
convenient.
Thanks,
--
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev