Maybe it helps: if you add an argument for a user agent string on wget instead of using curl like:
$ wget --user-agent="Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0" http://static.die.net/earth/mercator/1600.jpg
I can download the sunlight image no problem, if however I use:
$ wget http://static.die.net/earth/mercator/1600.jpg
it is blocked.
I looked at your coed and currently you use curl, maybe it would be easy to change the code to use wgen with the firefox user agent flag above?
Best, Sean.
Maybe it helps: if you add an argument for a user agent string on wget instead of using curl like:
$ wget --user- agent=" Mozilla/ 5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0" http:// static. die.net/ earth/mercator/ 1600.jpg
I can download the sunlight image no problem, if however I use:
$ wget http:// static. die.net/ earth/mercator/ 1600.jpg
it is blocked.
I looked at your coed and currently you use curl, maybe it would be easy to change the code to use wgen with the firefox user agent flag above?
Best, Sean.