Hello,

I'm using wget 1.10.2 on fedora core 4 and 1.9.1 on fc2, but I'm seeing
the same problem on both.  (Most of my testing's been on the fc4 machine.)

I'm trying to craft a wget command that'll suck down an
htdigest-protected web stats page (complete with graphics) that I can
put into cron eventually.  Right now, I'm just trying to find a wget
command that works.

The URL I'm going to has a few GET options posted on it too.  Basically,
it looks something like this:

http://foo.com/awstats/awstats.pl?config=bar&framename=mainright

In the HTML returned, there are a bunch of img tags referencing some png
graphics.  If I do the following with wget:

wget -p --convert-links --http-user blah --http-passwd halb
'http://foo.com/awstats/awstats.pl?config=bar&framename=mainright'

...all I get is the HTML output by the awstats.pl command.  I cannot get
wget to fetch the referenced PNG files.  I tried the '--span-hosts'
option, even though the image references are on the same host, but
that's not helping.

Any suggestions?  I'm close to writing a crude python script that'll do
just this, but it seems like overkill.  AFAICT, it _looks_ like wget
should be able to do this, right?

Thanks,
pete

Reply via email to