I'm wondering if there is a way to get a place name, or a place type, or whatever it's called, from Google Maps, using only longitude and latitude coordinates.
I have this URL.
https://www.google.com/maps/place/@42.34,-71.10
In Google Maps I see this.
The closest thing to the red marker is Simmons University, but Simmons University is NOT in the URL. If I click the text that says 'Simmons University', I get this URL.
Now, Simmons University is in the URL. Is there some way to extract the text of whatever is closest to the red marker?
I hacked this code together.
from selenium import webdriver
from time import sleep
driver = webdriver.Chrome('/home/datafiles/chromedriver')
driver.get('https://www.google.com/maps/place/@42.34,-71.10')
sleep(2)
I'm getting this error.
WebDriverException: Message: 'chromedriver' executable may have wrong permissions.
The environment is actually Linux and I'm using Python in a Jupyter Notebook. I've never used Linux before.