OK. Found the reason. This is ridiculous. Very ridiculous.

I saved the file with the name „cookie.txt“ and told curl to use „cookieS.txt“ with an „s“, and curl does not complain at all, not even in verbose mode,… because if the parameter is not a file, curl sends it as a cookie literally. So I was sending the string „cookie.txt“ to google instead of the content of the file.

Gaaah! What a silly parameter format!

However. I get geodata now. Thanks for listening.

I am creating an Open Source Tool that applies geodata to photos, mapping the google location to the image files.
I think with the informations of your blogpost I now can finish it.
I’d like to mention you in the credits, is that OK for you?