How to read specific data from website?

17 次查看(过去 30 天)
Hello, I'm trying to read current ETF price from website and get it on my workspace.
For example, let's take a look at this page " https://www.tefas.gov.tr/FonAnaliz.aspx?FonKod=HBF " . It is HSBC Gold Fund on current Turkish market. Anyway..
I'm aiming to read data shown below,
When I take a look at the "view-source:https://www.tefas.gov.tr/FonAnaliz.aspx?FonKod=HBF" from website. The value is always in the same line no matter which fund you are looking for. It is in the 356th line.
Of course, I will need to get rid of the <span> and </span> around our value too.
I'm still on search, I will try to update this question If i come out with an answer to myself.
It is good to be newbie ...

采纳的回答

Hjodie
Hjodie 2021-5-10
"URL Filter" add-on from file exchange solved my problem. I am leaving link below for those who would encounter same problem as I do.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by