Skip to main content

EnqueueLinksFunction

crawlee.basic_crawler.types.EnqueueLinksFunction

Type of a function for enqueueing links based on a selector.

Index

Methods

Methods

__call__

  • __call__(*, selector, label, user_data, kwargs): Coroutine[None, None, None]
  • Parameters

    • selector: str = 'a'keyword-only
    • label: str | None = Nonekeyword-only
    • user_data: dict[str, Any] | None = Nonekeyword-only
    • kwargs: Unpack[AddRequestsKwargs]

    Returns Coroutine[None, None, None]