Look in the URL? [image: Screenshot from 2023-11-07 11-26-59.png]
On Tue, Nov 7, 2023 at 10:30 AM Vaidya <[email protected]> wrote: > Hi, > > I am trying to get long/lat from Google map links of pins using python and > am facing some challenges. > Does anyone know a clean way to get the lat/long from the links? > I tried using requests.get and parsing the final url. > Some of them work and show a lat-long in the URL, but some resolve to > addresses. > I think it depends on how the pin was dropped. > > Examples: > https://maps.app.goo.gl/GF7UUbYcc4L2wVJV9?g_st=ic resolves to a url that > does not have lat-long. > https://maps.app.goo.gl/DkRaEGPcPuyA6XFA8 - this does. > > If anyone has already solved this and can help that would be great. > Have tried googling, but not able to find a working answer. > > Thanks, > Vaidya > > -- > Datameet is a community of Data Science enthusiasts in India. Know more > about us by visiting http://datameet.org > --- > You received this message because you are subscribed to the Google Groups > "datameet" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/datameet/CAHVy6PEuT5fJoU%3DvOxQtrdUoHKv-NAkN2q4RwgRLuqJ_QXmYXA%40mail.gmail.com > <https://groups.google.com/d/msgid/datameet/CAHVy6PEuT5fJoU%3DvOxQtrdUoHKv-NAkN2q4RwgRLuqJ_QXmYXA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Datameet is a community of Data Science enthusiasts in India. Know more about us by visiting http://datameet.org --- You received this message because you are subscribed to the Google Groups "datameet" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/datameet/CAFLOqVJ0wsXD9BJaUYskdKvbreDPFu5V7Ogms2xBYPGNf6Cfzw%40mail.gmail.com.
