I'm been trying to load HTML from websites that have dynamic/lazy loading
Closed this issue · 1 comments
tomtao2022 commented
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 ?
mohammedamehry commented
SwiftSoup cannot handle dynamic content loading its like jsoup for android .