title: scrapy ERROR: Spider error processing issue
body: <p>I'm very new to scrapy, while am running my code, am getting this error. </p>
  
  <p>My Code</p>
  
  <pre><code>import urlparse
  
  from scrapy.http import Request
  from scrapy.spiders import BaseSpider
  class legco(BaseSpider):
  name = "sec_gov"
  
  allowed_domains = ["www.sec.gov", "search.usa.gov", "secsearch.sec.gov"]
  start_urls = ["https://www.sec.gov/cgi-bin/browse-edgar?company=&amp;match=&amp;CIK=&amp;filenum=&amp;State=&amp;Country=&amp;SIC=2834&amp;owner=exclude&amp;Find=Find+Companies&amp;action=getcompany"]
  
  #extract home page search results
  def parse(self, response):
  for link in response.xpath('//div[@id="seriesDiv"]//table[@class="tableFile2"]/a/@href').extract():
      req = Request(url = link, callback = self.parse_page)
      print link
      yield req
  
  #extract second link search results
  def parse_second(self, response):
  for link in response.xpath('//div[@id="seriesDiv"]//table[@class="tableFile2"]//*[@id="documentsbutton"]/a/@href').extract():
      req = Request(url = link, callback = self.parse_page)
      print link
      yield req
  </code></pre>
  
  <p>Once I tried to run this code : <strong>scrapy crawl sec_gov</strong> am getting this error.</p>
  
  <pre><code>2018-11-14 15:37:26 [scrapy.core.engine] INFO: Spider opened
  2018-11-14 15:37:26 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
  2018-11-14 15:37:26 [scrapy.extensions.telnet] DEBUG: Telnet console listening on 127.0.0.1:6023
  2018-11-14 15:37:27 [scrapy.core.engine] DEBUG: Crawled (200) &lt;GET https://www.sec.gov/cgi-bin/browse-edgar?company=&amp;match=&amp;CIK=&amp;filenum=&amp;State=&amp;Country=&amp;SIC=2834&amp;owner=exclude&amp;Find=Find+Companies&amp;action=getcompany&gt; (referer: None)
  2018-11-14 15:37:27 [scrapy.core.scraper] ERROR: Spider error processing &lt;GET https://www.sec.gov/cgi-bin/browse-edgar?company=&amp;match=&amp;CIK=&amp;filenum=&amp;State=&amp;Country=&amp;SIC=2834&amp;owner=exclude&amp;Find=Find+Companies&amp;action=getcompany&gt; (referer: None)
  Traceback (most recent call last):
  File "/home/surukam/.local/lib/python2.7/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
  current.result = callback(current.result, *args, **kw)
  File "/home/surukam/.local/lib/python2.7/site-packages/scrapy/spiders/__init__.py", line 90, in parse
  raise NotImplementedError('{}.parse callback is not defined'.format(self.__class__.__name__))
  NotImplementedError: legco.parse callback is not defined
  2018-11-14 15:37:27 [scrapy.core.engine] INFO: Closing spider (finished)
  </code></pre>
  
  <p>Can anyone help me with this ? Thanks in advance</p>