Category : google-maps

Essentially title – I’ve seen plenty of methods here for scrolling on webpages but not on the side panel of a webpage. Here’s the code – the scrolling part seems to have no effect: driver = webdriver.Chrome(chromedriver_path) # chromedriver path driver.get(‘https://www.google.com/maps/search/gas/@40,-75.2,12z/data=!4m2!2m1!6e2′) time.sleep(3) driver.execute_script("window.scrollTo(0, 100)") time.sleep(3) Here’s the page I’m trying to access. Any tips? Source: ..

Read more

Running python code in pycharm: data = pd.read_csv(r"<path>ally_addresses.csv", names=[‘ID’, ‘Name’, ‘phone’, ‘street’, ‘city’, ‘state’, ‘zip’], nrows=5) df = data.copy() df[‘fullAddress’] = df[‘street’].map(str)+’, ‘+df[‘city’].map(str)+’, ‘+df[‘state’].map(str)+’ ‘+df[‘zip’].map(str) df = df[[‘fullAddress’]] df.drop_duplicates gmaps_key = googlemaps.Client(key="<My Key>") add_1 = df[‘fullAddress’][0] g = gmaps_key.geocode(add_1) I get this error message back File "C:Program FilesPython39libssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: ..

Read more