instaloctrack
instaloctrack copied to clipboard
Enhancement: GPS locations
Hi, in your blog post you mention that Instagram removed GPS from photos. This is mostly true, but Instagram does list GPS coordinates for the Location that a user selected. It is not a precise location, but it should save time geocoding the data yourself. This may only work if you are logged in to Instagram (it does for me, but I have heard others can get data without logging in).
Example: https://www.instagram.com/p/CXeIWI0IpYh/ If I search for "lat" in the source code it will show the geocoded location (lat/lng) for Rouen.
Another alternative, in case the above does not work for you: add ?__a=1
to the post URL and you get JSON that shows the info:
https://www.instagram.com/p/CXeIWI0IpYh/?__a=1
This seems to no longer be a function.
Both the additional at the end of the URL and searching for "lat" in the source code yield no results. Would love to know if you have an updated solution.