I want to download the daily usage statistics chart and hourly usage charts from my ISP. I currently use the following wget line (edited for security)
Code:
wget --http-user=username --http-passwd=secret https://en1.supercali.net:19638/menu/cgi-bin/webalizer.cgi/web/daily_usage_200712.png
But the file I get back contains the following:
Code:
Traceback (most recent call last):
File "/var/www/cgi-bin/webalizer.cgi", line 84, in ?
cookie = parse_cookie(os.environ)
File "/var/www/cgi-bin/webalizer.cgi", line 77, in parse_cookie
cookie.load(httpenv['HTTP_COOKIE'])
File "/usr/src/build/317580-i386/install/usr/lib/python2.2/UserDict.py", line 14, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: HTTP_COOKIE
How can I get these graphics for inclusion in a report?