Ask a question about puppeteer

write a service interface with node. The front end sends a request and crawls the web page after receiving the request. If there are four or five concurrency, the puppeteer seems to be queued to open, causing the request to get stuck and the response is particularly slow. Is there any solution for this?

Apr.15,2022

you can crawl a web page into a task system. The front end submits the task by request (after the task is saved, it returns immediately), and the back end processes the crawling task in turn.


do you use one page object or four or five page objects?

Menu