Hmm - I'm going to give up on die.net for now. I figured out how to use
mysqueezebox.com's image proxy (I think), and managed to fetch one of
the other images via the proxy.
Code:
--------------------
wget
"http://www.mysqueezebox.com/public/imageproxy?u=https%3A%2F%2Fapi.sat24.com%2Fmostrecent%2FGB%2Frain"
-O test.bmp
Connecting to www.mysqueezebox.com (34.244.111.131:80)
saving to 'test.bmp'
test.bmp 100%
|*************************************************************************************************************************|
1024k 0:00:00 ETA
'test.bmp' saved
--------------------
But when I try the die.net images I get a 22 byte file that just
contains the text "Cached image not found".
Code:
--------------------
wget
"http://www.mysqueezebox.com/public/imageproxy?u=https%3A%2F%2Fstatic.die.net%2Fearth%2Fmercator%2F1128.jpg"
-O test.bmp
Connecting to www.mysqueezebox.com (34.244.111.131:80)
saving to 'test.bmp'
test.bmp 100%
|*************************************************************************************************************************|
22 0:00:00 ETA
'test.bmp' saved
--------------------
Up till now I've been using Chrome, but I tried the plain image URL
(https://static.die.net/earth/rectangular/1280.jpg) in Safari, and the
first time I tried it I briefly saw a page that indicated that my
browser was being vetted by Cloudfare, then the image loaded.
Subsequent requests simply go straight to the image. So it does appear
that they'd rather you viewed their images in a browser, instead of
fetching them with wget. And I'm not about to pit my meagre skills
against the might of Cloudfare's security expertise!
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113732
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss