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

Open
felinto-dev opened this issue Apr 27, 2021 · 1 comment
Open

Comments

@felinto-dev
Copy link

@felinto-dev felinto-dev commented Apr 27, 2021

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
Contributor

@wRAR 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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants