How do I scrape a website using MATLAB?

조회 수: 8 (최근 30일)
azizullah khan
azizullah khan 2014년 7월 18일
댓글: Image Analyst 2014년 7월 20일
I want to scrape the text data from a table on a website. I have used urlfilter but this only scrapes numbers.

답변 (1개)

Image Analyst
Image Analyst 2014년 7월 18일
편집: Image Analyst 2014년 7월 18일
Use urlread() to get everything.
  댓글 수: 4
azizullah khan
azizullah khan 2014년 7월 19일
i have a web which further consist of 200 pages Every page contain table i want to extract some data from the table not all data and make a table from all these pages. and save the data in excel. if you have any kind of idea share it with me.. Bundle of thanks
Image Analyst
Image Analyst 2014년 7월 20일
I don't have anything beyond urlread() for that. There is not going to be any built-in code that know exactly how your 200 web pages are laid out and how to extract the table from all the rest of the HTML code that is retrieved. There are billions of web pages out there and they just don't a page parser for all of them, or even yours. You're going to have to do that yourself.

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

카테고리

Help CenterFile Exchange에서 String Parsing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by