PDA

View Full Version : [ubuntu] wget failed to download image from URL



Mavericklsd
January 21st, 2011, 05:45 AM
I tried to download some images from google using wget:

where wget cbk0.google.com/cbk?output=tile&panoid=2dAJGQJisD1hxp_U0xlokA&zoom=5&x=0&y=0

However, I get the following erros:

--2011-01-21 04:39:05-- http://cbk0.google.com/cbk?output=tile
Resolving cbk0.google.com... 209.85.143.100, 209.85.143.101
Connecting to cbk0.google.com|209.85.143.100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-01-21 04:39:05 ERROR 404: Not Found.

I'm very sure the image is there by paste the URL on my browser and the image pop up correctly.

I need to download a sequence of tiles on google panorama for my project, but each panorama view containing up to 338 pictures. I simply can not do by hand...

andrewc6l
January 22nd, 2011, 01:06 AM
Try:


wget "cbk0.google.com/cbk?output=tile&panoid=2dAJGQJisD1hxp_U0xlokA&zoom=5&x=0&y=0"


(Note the quotation marks.) The shell is interpreting the first & as "put this process in the background".

andrewc6l
January 22nd, 2011, 01:07 AM
Try:


wget "cbk0.google.com/cbk?output=tile&panoid=2dAJGQJisD1hxp_U0xlokA&zoom=5&x=0&y=0"


(Note the quotation marks.) The shell is interpreting the first & as "put this process in the background".

(oops - multipost)

Mavericklsd
January 23rd, 2011, 07:10 PM
It solved thank you very much!