Skip to content

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

Fix IMAGES_EXPIRES default value

Jesús Losadaf193c52acd23
diff --git a/scrapy/pipelines/images.py b/scrapy/pipelines/images.py
index a511887b6..f008a5420 100644
--- a/scrapy/pipelines/images.py
+++ b/scrapy/pipelines/images.py
@@ -42,7 +42,7 @@ class ImagesPipeline(FilesPipeline):
# ImagesPipeline. They may be overridden by settings.
MIN_WIDTH = 0
MIN_HEIGHT = 0
- EXPIRES = 0
+ EXPIRES = 90
THUMBS = {}
DEFAULT_IMAGES_URLS_FIELD = 'image_urls'
DEFAULT_IMAGES_RESULT_FIELD = 'images'