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] What method does Scrapy use to expire files in FilePipeline? #5120

Closed
felinto-dev opened this issue Apr 27, 2021 · 1 comment · Fixed by #5254
Closed

[Question] What method does Scrapy use to expire files in FilePipeline? #5120

felinto-dev opened this issue Apr 27, 2021 · 1 comment · Fixed by #5254

Comments

@felinto-dev
Copy link

What method does Scrapy use to expire files in FilePipeline?

https://docs.scrapy.org/en/latest/topics/media-pipeline.html#file-expiration

I looked at the documentation on this, but not much is informed about which algorithm is used to define whether a file needs to be downloaded again or not.

@wRAR
Copy link
Member

wRAR commented Apr 28, 2021

The pipeline just looks at the file modified time as far as I can see.

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

Successfully merging a pull request may close this issue.

3 participants