This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scrapy.spider import BaseSpider | |
from scrapy.contrib.spiders import CrawlSpider, Rule | |
from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor | |
from scrapy.http import FormRequest | |
from scrapy.selector import HtmlXPathSelector | |
from tutorial.items import GoogleItem | |
# This is the class that does work. | |
class LoginSpider(BaseSpider): | |
name = 'google-login' |