Cannot get span[2] ?
Afficher commentaires plus anciens
I got this :
<span style="color:#aaa">936,958 </span><span>47,264</span><span>194,666</span>
from https://www.worldometers.info/coronavirus/ in ThingHTTP with /html/body/div[2]/div[2]/div/div/div/div/span
But how I can get those 3 numbers separately?
It shows an error when I filled /html/body/div[2]/div[2]/div/div/div/div/span[2]
2 commentaires
Image Analyst
le 2 Avr 2020
John D'Errico
le 2 Avr 2020
Modifié(e) : John D'Errico
le 2 Avr 2020
Note that in MATLAB, you do not index a variable using square brackets [], but parens (). Could this be part of your problem?
Réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!