MATLAB: Scrape Website using MATLAB

MATLABmatlab web

Can we scrape website using matlab, if yes then how to get a text from a HTML tag?

Best Answer

Yes, you can. There is an inbuilt function called webread() which will scrape the website and return the content in it. After that, you can use inbuilt functions findElement and extarctHtmlText to get the text from the HTML tag.
For more details you can see the documentation of these commands :
https://in.mathworks.com/help/matlab/ref/webread.html
https://in.mathworks.com/help/textanalytics/ref/htmltree.findelement.html
Related Question