How can I read some specific data from a web page
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
There is a website here (http://www.tsetmc.com/Loader.aspx?ParTree=151311&i=46741025610365786#), that each field of this table(specified by yellow squares in second photo) shows information about one specific day. What I need to do is to read only حجم row of each field(I mean what I specified by red squares in the second photo(You should go to the tab i mentioned in first photo, to see the second photo)):
And write them(store in my computer) in a text file like this(I don't need the word 'حجم' to be written:
6.832 M (14%) , 40.475 M (85%), 248,000 (0%), 47.059 M (99%)
605,000 (3%), 15.277 M (96%), 478,714 (3%), 15.404 M (96%)
8.102 M (42%), 10.751 M (57%), 9.599 M (50%), 9.253 M (49%)
215,937 (2%), 9.417 M (97%), 1.115 M (11%), 8.518 M (88%)
3.351 M (15%), 18.284 M (84%), 5.987 M (27%), 15.647 M (72%)
It also would be fantastic for me if M letters in above data changes to 000, I mean 6.832 M for example, be converted to 6832000.
I read an article about web scraping in Matlab, but couldn't understand it! It seems it's a huge specific area and I need read alot more, but this is a part of my ML(machine learning) project in Matlab and I need grab data from web for that.
3 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Web Services dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!