You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Scrapy 2.10 RetryMiddleware was updated (PR scrapy/scrapy#5929) to deprecate EXCEPTIONS_TO_RETRY tuple. There is an error (issue scrapy/scrapy#6049) that makes RetryUserAgentMiddleware instances to throw AttributeError upon accessing EXCEPTIONS_TO_RETRY.
To resolve this problem and add support for new RETRY_EXCEPTIONS setting, __init__ must be updated in the following way:
In Scrapy 2.10
RetryMiddleware
was updated (PR scrapy/scrapy#5929) to deprecateEXCEPTIONS_TO_RETRY
tuple. There is an error (issue scrapy/scrapy#6049) that makesRetryUserAgentMiddleware
instances to throwAttributeError
upon accessingEXCEPTIONS_TO_RETRY
.To resolve this problem and add support for new
RETRY_EXCEPTIONS
setting,__init__
must be updated in the following way:Such solution maintains support for previous Scrapy versions.
The text was updated successfully, but these errors were encountered: