--
You received this message because you are subscribed to the Google Groups "scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scrapy-users...@googlegroups.com.
To post to this group, send email to scrapy...@googlegroups.com.
Visit this group at https://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.
import scrapy
class MySpider(scrapy.Spider):
name = 'myspider'
msg = 'hello!'
start_urls = ['http://scrapy.org']
def parse(self, response):
print self.msg