mirror of
https://github.com/Viren070/MediaFusion.git
synced 2025-12-01 23:21:11 +01:00
update scrapy cache path
This commit is contained in:
@@ -87,7 +87,7 @@ HTTPCACHE_ENABLED = True
|
||||
HTTPCACHE_EXPIRATION_SECS = (
|
||||
900 # 15 minutes to avoid a multiple scraping task of same time.
|
||||
)
|
||||
HTTPCACHE_DIR = "httpcache"
|
||||
HTTPCACHE_DIR = "/tmp/httpcache"
|
||||
HTTPCACHE_IGNORE_HTTP_CODES = [500, 502, 503, 504, 522, 524, 408, 429]
|
||||
HTTPCACHE_STORAGE = "scrapy.extensions.httpcache.FilesystemCacheStorage"
|
||||
# HTTPCACHE_POLICY = "scrapy.extensions.httpcache.RFC2616Policy"
|
||||
|
||||
Reference in New Issue
Block a user