mirror of https://github.com/scrapy/scrapy.git
Merge pull request #5254 from PeterMorrison1/FilePipeline-expire-doc
Document file expiration method in media-pipeline (#5120)
This commit is contained in:
commit
eb0e99dc20
|
|
@ -383,6 +383,9 @@ class name. E.g. given pipeline class called MyPipeline you can set setting key:
|
|||
|
||||
and pipeline class MyPipeline will have expiration time set to 180.
|
||||
|
||||
The last modified time from the file is used to determine the age of the file in days,
|
||||
which is then compared to the set expiration time to determine if the file is expired.
|
||||
|
||||
.. _topics-images-thumbnails:
|
||||
|
||||
Thumbnail generation for images
|
||||
|
|
|
|||
Loading…
Reference in New Issue