SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)
4.48k
stars
339
forks
source link
I'm been trying to load HTML from websites that have dynamic/lazy loading #269
Closed
tomtao2022 closed 2 weeks ago
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 ")
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 ?