Skip to content
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

Question about Downloader Middlewares #77

Open
nehakansal opened this issue Jul 31, 2018 · 4 comments
Open

Question about Downloader Middlewares #77

nehakansal opened this issue Jul 31, 2018 · 4 comments

Comments

@nehakansal
Copy link

There is a list of Downloader Middlewares in the settings file. Does that list mean that those are the only middlewares that are activated for any crawl? I am asking this because I noticed that the RetryMiddleware is working but the MetaRefreshMiddleware doesn't seem to be working - and none of them are specified in the middlewares list. Could someone explain that please? Thanks.

@lopuhin
Copy link
Contributor

lopuhin commented Jul 31, 2018

@nehakansal sure, middlewares active by default are listed here https://doc.scrapy.org/en/latest/topics/settings.html#downloader-middlewares-base

@nehakansal
Copy link
Author

Got it, thanks. So, the MetaRefreshMiddleware is active and the METAREFRESH_ENABLED setting is true by default - but I saw that it didnt work on a site crawl. Any thoughts on that?

@lopuhin
Copy link
Contributor

lopuhin commented Aug 7, 2018

@nehakansal indeed it should be enabled according to the docs, and it's not disabled in the project explicitly. I never used it myself, so no ideas. But if you can build a small reproducible example, or provide more details, you can try submitting this to the scrapy issues: https://github.com/scrapy/scrapy/issues/

@nehakansal
Copy link
Author

Okay, thanks. I will submit it to the scrapy issues.

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

No branches or pull requests

2 participants