MATLAB Answers

How do I scrape a website using MATLAB?

107 views (last 30 days)
azizullah khan
azizullah khan on 18 Jul 2014
Commented: Image Analyst on 20 Jul 2014
I want to scrape the text data from a table on a website. I have used urlfilter but this only scrapes numbers.

Answers (1)

Image Analyst
Image Analyst on 18 Jul 2014
Edited: Image Analyst on 18 Jul 2014
Use urlread() to get everything.
Image Analyst
Image Analyst on 20 Jul 2014
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.

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!