If you're constructing the spider somewhere you could pass it the start_urls in
the constructor:
spider = MySpider(start_urls=THE_URLS)
Otherwise you could make the spider load the URLs itself in the constructor:
def MySpider(object):
def __init__(self):
self.start_urls = THE_URLS
# the other spider methods
Pablo.
> --
> You received this message because you are subscribed to the Google Groups "scrapy-users" group.
> To post to this group, send email to scrapy...@googlegroups.com.
> To unsubscribe from this group, send email to scrapy-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/scrapy-users?hl=en.
~Z