From d96e0aace79f425556349e384f16765cf70cfd8d Mon Sep 17 00:00:00 2001 From: Morvan Zhou Date: Fri, 29 Dec 2017 23:37:38 +1100 Subject: [PATCH] update --- notebook/5-2-scrapy.ipynb | 2 +- source_code/5-2-scrapy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notebook/5-2-scrapy.ipynb b/notebook/5-2-scrapy.ipynb index 0f16989..1f2b8ce 100644 --- a/notebook/5-2-scrapy.ipynb +++ b/notebook/5-2-scrapy.ipynb @@ -20,7 +20,7 @@ "import scrapy\n", "\n", "\n", - "class BaikeSpider(scrapy.Spider):\n", + "class MofanSpider(scrapy.Spider):\n", " name = \"mofan\"\n", " start_urls = [\n", " 'https://morvanzhou.github.io/',\n", diff --git a/source_code/5-2-scrapy.py b/source_code/5-2-scrapy.py index d13ad80..6c7d4a4 100644 --- a/source_code/5-2-scrapy.py +++ b/source_code/5-2-scrapy.py @@ -1,7 +1,7 @@ import scrapy -class BaikeSpider(scrapy.Spider): +class MofanSpider(scrapy.Spider): name = "mofan" start_urls = [ 'https://morvanzhou.github.io/',