Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tomtao2022 opened this issue May 12, 2024 · 0 comments

Comments

@tomtao2022
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant