-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to limit the Zyte API requests #111
Comments
Wouldn’t CLOSESPIDER_PAGECOUNT do the job in most cases? |
Yes, that's right. But it would also include non-ZAPI requests to the count. EDIT: I also realized that |
An alternative: https://github.com/croqaz/scrapy-count-filter Though it still doesn't address the issue of directly limiting the number of ZAPI requests. |
Closing as #114 has been merged |
I'm thinking of a feature where the user can indicate the max number of Zyte API requests for a given spider crawl. When this number is reached, the spider shuts down.
The main use case for this is to limit the costs per crawl.
The text was updated successfully, but these errors were encountered: