Enter data into a website field and read response data

Hello,
I would like to enter data into the Coutry field and read the corresponding lattitude. Any insight into how to make this happen?
I am trying this: resp = webwrite(url,'address_box','Afganistan'), where url = 'https://www.itilog.com/'.
I found that the address box is labeled "address_box" in the HTML code.
The response i get, error messasge, is
Error using webwrite (line 129)
Could not establish a secure connection to "www.itilog.com". The reason
is "error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed". Check your certificate file (C:\Program
Files\MATLAB\R2016b\sys\certificates\ca\rootcerts.pem) for expired,
missing or invalid certificates.
Appreciate any insight into how to make this work. I'm trying to correlate covid data to lattitude.
Thanks
Mike

1 Comment

you can use the location coordinates to get the latitude. It is quite straightforward when you use where am i app

Sign in to comment.

Answers (1)

Hi Mike,
You can refer to this answer to resolve the error.

Tags

Asked:

on 8 Jan 2022

Commented:

on 13 Sep 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!