1.错误1:url地址有误
Crawled (200) <GET http://www.itcast.cn/robots.txt> (referer: None)
DEBUG: Crawled (404) <GET http://www.itcast.cn/channel/teacher.shtml/> (referer: None)
解决:复制url的完全地址
start_urls = ['http://www.itcast.cn/channel/teacher.shtml/'] # 刚开始的url
start_urls = ['http://www.itcast.cn/channel/teacher.shtml#ajavaee'] # 改了之后的url