Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Document file expiration method in media-pipeline

Peter Morrison47533985f4dc
diff --git a/docs/topics/media-pipeline.rst b/docs/topics/media-pipeline.rst
index 46bd2859b..10d2ac990 100644
--- a/docs/topics/media-pipeline.rst
+++ b/docs/topics/media-pipeline.rst
@@ -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