making start_urls a list in basic genspider template

This commit is contained in:
Raul Gallegos 2016-10-11 22:08:05 -05:00
parent dd778892d0
commit 118b42ab59
1 changed files with 1 additions and 3 deletions

View File

@ -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