ApifyScheduler
Index
Constructors
Methods
Constructors
__init__
{"content": ["Create a new instance."]}
Returns None
Methods
enqueue_request
{"content": ["Add a request to the scheduler.\n\nThis could be called from either from a spider or a downloader middleware (e.g. redirect, retry, ...).\n", {"
Parameters
request: Request
Returns bool
has_pending_requests
{"content": ["Check if the scheduler has any pending requests.\n", {"
Returns bool
next_request
{"content": ["Fetch the next request from the scheduler.\n", {"
Returns Request | None
open
{"content": ["Open the scheduler.\n", {"
Parameters
spider: Spider
Returns None
{"content": ["A Scrapy scheduler that uses the Apify Request Queue to manage requests.\n\nThis scheduler requires the asyncio Twisted reactor to be installed."]}