diff --git a/Chapter05_Scrapy/wikiSpider/wikiSpider/articles.py b/Chapter05_Scrapy/wikiSpider/wikiSpider/articles.py index 2b2d0c2..40132c8 100644 --- a/Chapter05_Scrapy/wikiSpider/wikiSpider/articles.py +++ b/Chapter05_Scrapy/wikiSpider/wikiSpider/articles.py @@ -1,5 +1,5 @@ -from scrapy.contrib.linkextractors import LinkExtractor -from scrapy.contrib.spiders import CrawlSpider, Rule +from scrapy.linkextractors import LinkExtractor +from scrapy.spiders import CrawlSpider, Rule class ArticleSpider(CrawlSpider): name = 'articles'