Re: wget vs lynx
On Sun, Feb 17, 2008 at 10:18:25AM +0100, Carlos Rivera Cordero wrote:
> On 17/02/08 10:48, Anas Husseini wrote:
> > wget is receiving a 403 error (Forbidden) when trying to retrieve a special
> > web page, while lynx (and other text and graphical web browsers) succeeded to
> > get this page.
> > What may be the cause?
> Your server does not like wget user agent, in fact it works if you tell wget to
> use a different one. For example try using Iceweasel user agent, it works:
> wget --user-agent="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:184.108.40.206) Gecko/20080129 Iceweasel/220.127.116.11 (Debian-18.104.22.168-0etch1)" http://www.unix.org.ua/
Thanks for that! Those 403 errors are a pain, especially when you are
using wget like:
wget -a logfile -i file_with_urls
and you don't notice till you are offline. :-(