mirror of https://github.com/scrapy/scrapy.git
Spider constructor expects name as argument, not start_urls.
Fixes #4644
This commit is contained in:
parent
536643efde
commit
3672f5f988
|
|
@ -296,7 +296,7 @@ class StartUrlsSpider(Spider):
|
|||
|
||||
def __init__(self, start_urls):
|
||||
self.start_urls = start_urls
|
||||
super(StartUrlsSpider, self).__init__(start_urls)
|
||||
super(StartUrlsSpider, self).__init__(name='StartUrlsSpider')
|
||||
|
||||
def parse(self, response):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in New Issue