mirror of https://github.com/scrapy/scrapy.git
making start_urls a list in basic genspider template
This commit is contained in:
parent
dd778892d0
commit
118b42ab59
|
|
@ -5,9 +5,7 @@ import scrapy
|
|||
class $classname(scrapy.Spider):
|
||||
name = "$name"
|
||||
allowed_domains = ["$domain"]
|
||||
start_urls = (
|
||||
'http://$domain/',
|
||||
)
|
||||
start_urls = ['http://$domain/']
|
||||
|
||||
def parse(self, response):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in New Issue