How to get html from a website

I have a simple Html Website which contains a value I want. I have managed to parse the html from the site in UIKit, however I want my project to be in SwiftUI App. How do you parse html there?
Could you show the code you have so far ?

What is exactly the problem ?

May have a look here for some examples for similar goal:
https://stackoverflow.com/questions/59731236/swiftui-attributed-string-from-html-crashes-the-app
How to get html from a website
 
 
Q