Skip to content

Conversation

Prometheus3375
Copy link

@Prometheus3375 Prometheus3375 commented Sep 18, 2023

Resolves #41.

I tested locally with Scrapy 2.9.0, 2.10.0 and 2.11.0.
2.10 is the version with exception upon accessing EXCEPTIONS_TO_RETRY. In 2.11 this error was fixed.

On all versions middleware does not fail when process_exception is called. On 2.10+ the middleware also respects setting RETRY_EXCEPTIONS.

I am not sure how to add tests with specific scrapy version.

@Prometheus3375
Copy link
Author

@alecxe hello. Can you review this one and release a new version to PyPI?

@geeone
Copy link

geeone commented Jul 12, 2025

Just in case if somebody else is also looking for this change - since this project seems to be no longer maintained, I've built a new one that will work with modern Scrapy versions. Take a look at scrapy-ua-rotator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Scrapy 2.10 and RETRY_EXCEPTIONS setting
2 participants