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

1
  • did you singe quote url ? because & has a special meaning in most shell. Commented Jul 6, 2017 at 13:49

1 Answer 1

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 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.