File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ def __call__(
254254
255255
256256class EnqueueLinksFunction (Protocol ):
257- """A function type for enqueueing new URLs to crawl, based on elements selected by a CSS selector.
257+ """A function type for enqueueing new URLs to crawl, based on elements selected by a selector.
258258
259259 This function is used to extract and enqueue new URLs from the current page for further crawling.
260260 """
@@ -270,7 +270,10 @@ def __call__(
270270 """A call dunder method.
271271
272272 Args:
273- selector: CSS selector used to find the elements containing the links.
273+ selector: selector used to find the elements containing the links.
274+ - PlaywrightCrawler: supports CSS and XPath selectors
275+ - ParselCrawler: supports CSS selectors
276+ - BeautifulSoupCrawler: supports CSS selectors
274277 label: Label for the newly created `Request` objects, used for request routing.
275278 user_data: User data to be provided to the newly created `Request` objects.
276279 **kwargs: Additional arguments for the `add_requests` method.
You can’t perform that action at this time.
0 commit comments