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

How to crawl a single page of vue or react? #750

Open
castaway33 opened this issue Feb 2, 2023 · 2 comments
Open

How to crawl a single page of vue or react? #750

castaway33 opened this issue Feb 2, 2023 · 2 comments

Comments

@castaway33
Copy link

No description provided.

@axiangcoding
Copy link

I believe colly can not do such thing. maybe try https://github.com/chromedp/chromedp

@MTariq99
Copy link

Colly is an excellent web scraping library for Golang, but it's important to note that it does not execute JavaScript. So, to crawl a Vue or ReactJS page effectively, you need to use a headless browser that can handle JavaScript rendering. Puppeteer is a popular headless browser used with Node.js, but you can also use a Golang wrapper for Puppeteer like chromedp

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

3 participants