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
It looks like this flag stopped functioning in #99. crawler.stats are always passed to the middleware, and are always collected.
crawler.stats
Additionally, it looks like this middleware would error if stats weren't provided, as the initial depth value would otherwise never be set.
scrapy/scrapy/spidermiddlewares/depth.py
Lines 53 to 56 in c4f096d
The text was updated successfully, but these errors were encountered:
Merge pull request #3253 from rpkilby/depth-stats
f8f5f46
[MRG+1] Update depth middleware stats (fixes #3245)
Successfully merging a pull request may close this issue.
It looks like this flag stopped functioning in #99.
crawler.stats
are always passed to the middleware, and are always collected.Additionally, it looks like this middleware would error if stats weren't provided, as the initial depth value would otherwise never be set.
scrapy/scrapy/spidermiddlewares/depth.py
Lines 53 to 56 in c4f096d
The text was updated successfully, but these errors were encountered: