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
b1lz9 opened this issue Feb 2, 2023 · 2 comments
Open

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

b1lz9 opened this issue Feb 2, 2023 · 2 comments

Comments

@b1lz9
Copy link

b1lz9 commented Feb 2, 2023

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