title: scrapy parse_item method is not getting called
body: <p>Here is my code. My parse_item method is not getting called.</p>
  
  <pre><code>from scrapy.contrib.spiders import CrawlSpider, Rule
  from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor
  from scrapy.selector import HtmlXPathSelector
  
  class SjsuSpider(CrawlSpider):
  
      name = 'sjsu'
      allowed_domains = ['sjsu.edu']
      start_urls = ['http://cs.sjsu.edu/']
      # allow=() is used to match all links
      rules = [Rule(SgmlLinkExtractor(allow=()), follow=True),
               Rule(SgmlLinkExtractor(allow=()), callback='parse_item')]
  
      def parse_item(self, response):
          print "some message"
          open("sjsupages", 'a').write(response.body)
  </code></pre>