Get url link from the web using python
Question: So I am trying to write a script that will allow to search for a certain place
and get the coordinates. I am very limited with the packages because I'm not
allow download any packages that does not already comes with python 2.7.

    
    
    import webbrowser
    
    location = input('Enter your location: ')
    
    webbrowser.open('https://www.google.com/maps/place/'+location)
    

My browser opens and the url changes to

    
    
    https://www.google.com/maps/place/Washington+Monument/@38.8894838,-77.0374678,17z/data=!3m1!4b1!4m2!3m1!1s0x89b7b7a1be0c2e7f:0xe97346828ed0bfb8
    

From there, I want to get the new url so I can strip it to just have the
coordinates. Anyone one know how to get the new url the browser creates?


Answer: 
    >>> import urllib
    >>> text = urllib.urlopen('https://www.google.com/maps/place/washington').read()
    >>> p = text.find('cacheResponse([[[')
    >>> p
    228
    >>> text[228: 300]
    'cacheResponse([[[26081602.52827102,-95.67706800000001,37.06250000000001]'
    >>> 
    

