File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ def __call__(
254
254
255
255
256
256
class 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.
258
258
259
259
This function is used to extract and enqueue new URLs from the current page for further crawling.
260
260
"""
@@ -270,7 +270,10 @@ def __call__(
270
270
"""A call dunder method.
271
271
272
272
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
274
277
label: Label for the newly created `Request` objects, used for request routing.
275
278
user_data: User data to be provided to the newly created `Request` objects.
276
279
**kwargs: Additional arguments for the `add_requests` method.
You can’t perform that action at this time.
0 commit comments