# -*- coding: utf-8 -*- """Invoke the scrapy shell from the spider.""" import scrapy class ShellSpider(scrapy.Spider): name = 'shell' allowed_domains = ['codyhiar.com'] start_urls = ['http://codyhiar.com/'] def parse(self, response): from scrapy.shell import inspect_response inspect_response(response, self)