mirror of https://github.com/scrapy/scrapy.git
fix: missing self argument in ScreenshotPipeline constructor (#7248)
added missing self argument in __init__ method constructor
This commit is contained in:
parent
fc30c47f38
commit
2c3ecbff71
|
|
@ -190,7 +190,7 @@ item.
|
|||
|
||||
SPLASH_URL = "http://localhost:8050/render.png?url={}"
|
||||
|
||||
def __init__(crawler):
|
||||
def __init__(self, crawler):
|
||||
self.crawler = crawler
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Reference in New Issue