Skip to content

Commit

Permalink
Merge pull request #68 from mengcz13/patch-1
Browse files Browse the repository at this point in the history
Update "scrapy.spiders.Spider"
  • Loading branch information
marchtea committed Jul 13, 2015
2 parents 7675c81 + c9b69e7 commit a764bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intro/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Spider是用户编写用于从单个网站(或者一些网站)爬取数据的类

import scrapy

class DmozSpider(scrapy.spider.Spider):
class DmozSpider(scrapy.spiders.Spider):
name = "dmoz"
allowed_domains = ["dmoz.org"]
start_urls = [
Expand Down

0 comments on commit a764bbe

Please sign in to comment.