Apify

Apify and Crawlee Official Forum

b
F
A
J
A

Any suggestions for improving the speed of the crawling run?

Hello there!

Beside reducing the scope of what is being crawled, for example of number of pages, etc, what can we do in order to accelerate the run?

Any suggestions are welcomed, I'm simply curious.
R
R
3 comments
hey, aside from obvious improvements like allocating more memory or increasing maximum concurrency, if you're using a browser for scraping, try to find ways to replace parts of the process with simple HTTP calls, without relying on the browser navigation. You can scrape the website's internal or public JSON API or the site's pure HTML this way. Use the browser only when necessary.
Basically increasing parallelism and concurrency is the first factor.
But in some cases its worth it to optimize request and parsing logic.
@gablabelle
Add a reply
Sign up and join the conversation on Discord
Join