Scrape Website using MATLAB

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

 采纳的回答

Tatvam Dadheech
Tatvam Dadheech 2019-7-8

0 个投票

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Call Web Services from MATLAB Using HTTP 的更多信息

产品

版本

R2019a

标签

Community Treasure Hunt

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

Start Hunting!

Translated by