SwiftSoup
SwiftSoup copied to clipboard
I'm been trying to load HTML from websites that have dynamic/lazy loading
let html = try String.init(contentsOf: “https://skynet.certik.com/leaderboards/new-launch”) // parse it into a Document document = try SwiftSoup.parse(html)
let links: Elements = try document.getElementsByClass("group contents [&:last-child>*]:border-b-0 ")
for link in links {
debugPrint(link)
}
can't get data Elements, because websites that have dynamic/lazy loading. i checked html no related data
such as
71 GPTVerse 76.52 Not Verified $0.03409 6.56%
any idea ?