0

I just found that we can see Google Street View images from the following link: https://maps.googleapis.com/maps/api/streetview?size=640x640&location=38.3810257,-89.486167&heading=0 (where heading is the rotation).
My question is that. How can I download that image from my terminal?

I tried with:

wget https://maps.googleapis.com/maps/api/streetview?size=640x640&location=38.3810257,-89.486167&heading=0

But it creates a file named "wget-log" and its content says ERROR 400: Bad Request.
Thank you

  • did you singe quote url ? because & has a special meaning in most shell. – Archemar Jul 6 '17 at 13:49
2

The problem is that I need to quote the url because of &:

wget "https://maps.googleapis.com/maps/api/streetview?size=640x640&location=38.3810257,-89.486167&heading=0" -O downloaded.jpg

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.