Is there any way to specify max crawl depth? #441
-
I want to restrict my crawler so that it only goes 3 levels deep from the starting URL. Is there a built-in way to set a maximum depth, or what’s the best approach to enforce this depth limit in Crawlee? |
Beta Was this translation helpful? Give feedback.
Answered by
vdusek
Aug 19, 2024
Replies: 1 comment 2 replies
-
Currently, we do not support such option. You can limit the crawling either by setting an enqueueing strategy, see the Crawl website with relative links. Or your use case cannot be addressed with an enqueueing strategy and you specifically need a max crawl depth? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
vdusek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, we do not support such option. You can limit the crawling either by setting an enqueueing strategy, see the Crawl website with relative links. Or your use case cannot be addressed with an enqueueing strategy and you specifically need a max crawl depth?