Enter data into a website field and read response data

7 visualizzazioni (ultimi 30 giorni)
Mike
Mike il 8 Gen 2022
Commentato: John il 13 Set 2023
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 Commento
John
John il 13 Set 2023
you can use the location coordinates to get the latitude. It is quite straightforward when you use where am i app

Accedi per commentare.

Risposte (1)

Navya Singam
Navya Singam il 11 Gen 2022
Hi Mike,
You can refer to this answer to resolve the error.

Community Treasure Hunt

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

Start Hunting!

Translated by