SwiftSoup icon indicating copy to clipboard operation
SwiftSoup copied to clipboard

I'm been trying to load HTML from websites that have dynamic/lazy loading

Open tomtao2022 opened this issue 9 months ago • 0 comments

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 ?

tomtao2022 avatar May 12 '24 09:05 tomtao2022