필터 지우기
필터 지우기

How can I read some specific data from a web page

조회 수: 1 (최근 30일)
reza
reza 2019년 1월 22일
댓글: Rik 2019년 1월 22일
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
reza
reza 2019년 1월 22일
How can I read the whole page?
Rik
Rik 2019년 1월 22일
websave or webread should do it.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by