|
# wget http://www.lightspeedgalleries.com/fg/jor/gc553/images/3.jpg
--00:56:14-- http://www.lightspeedgalleries.com/fg/jor/gc553/images/3.jpg
=> `3.jpg'
Resolving www.lightspeedgalleries.com... done.
Connecting to www.lightspeedgalleries.com[66.115.150.252]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.lightspeedgalleries.com/images/red_x.gif [following]
--00:56:14-- http://www.lightspeedgalleries.com/images/red_x.gif
=> `red_x.gif'
Connecting to www.lightspeedgalleries.com[66.115.150.252]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,991 [image/gif]
00:56:14 (1.90 MB/s) - `red_x.gif' saved [1991/1991]
--------
# wget --header='Referer: http://www.lightspeedgalleries.com/' http://www.lightspeedgalleries.com/fg/jor/gc553/images/3.jpg
--00:56:43-- http://www.lightspeedgalleries.com/fg/jor/gc553/images/3.jpg
=> `3.jpg'
Resolving www.lightspeedgalleries.com... done.
Connecting to www.lightspeedgalleries.com[66.115.150.252]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 80,952 [image/jpeg]
00:56:43 (775.05 KB/s) - `3.jpg' saved [80952/80952]
-----
If you don't present a referer, you get redirected to red_x.gif
If you do present a referer, you get the actual content you requested
I wonder how long it's been like this. I spent about 45 mins selecting images from their FHGs only to find that my script couldn't fetch them. I haven't bothered to look since. I'm sure other TGP scripts will have broken too.
|