Skip to content

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

Update warning wording

Paul Tremberth8cffb4bbefce
diff --git a/scrapy/downloadermiddlewares/chunked.py b/scrapy/downloadermiddlewares/chunked.py
index fd90aab2a..64d94c489 100644
--- a/scrapy/downloadermiddlewares/chunked.py
+++ b/scrapy/downloadermiddlewares/chunked.py
@@ -4,8 +4,8 @@ from scrapy.exceptions import ScrapyDeprecationWarning
from scrapy.utils.http import decode_chunked_transfer
-warnings.warn("Module `scrapy.downloadermiddlewares.chunked.ChunkedTransferMiddleware` "
- "is deprecated, chunked transfers are supported by default.",
+warnings.warn("Module `scrapy.downloadermiddlewares.chunked` is deprecated, "
+ "chunked transfers are supported by default.",
ScrapyDeprecationWarning, stacklevel=2)