I'm trying to use wget
to automatically download a wallpaper. Here is the command:
wget http://static.die.net/earth/mercator/1600.jpg
However, if I try to open the resulting picture, it seems to say it has a bad magic number. By running file 1600.jpg
, I get 1600.jpg: GIF image data, version 89a, 1 x 1
. If I open it as a GIF it doesn't work either. It's only 37 bytes too.
It works perfectly fine if I view or download it through Firefox.
Any ideas?