Skip to content

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

fix: missing self argument in ScreenshotPipeline constructor (#7248)

Anant Murmu2c3ecbff714c
diff --git a/docs/topics/item-pipeline.rst b/docs/topics/item-pipeline.rst
index 8194fe043..9a53f88fb 100644
--- a/docs/topics/item-pipeline.rst
+++ b/docs/topics/item-pipeline.rst
@@ -190,7 +190,7 @@ item.
SPLASH_URL = "http://localhost:8050/render.png?url={}"
- def __init__(crawler):
+ def __init__(self, crawler):
self.crawler = crawler
@classmethod