慕桂英8572775
2019-06-22 22:45
我跑出来的最后几行和老师的也不一样?什么原因呢?
{'downloader/request_bytes': 590,
'downloader/request_count': 2,
'downloader/request_method_count/GET': 2,
'downloader/response_bytes': 21357,
'downloader/response_count': 2,
'downloader/response_status_count/200': 1,
'downloader/response_status_count/301': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2019, 6, 22, 14, 41, 25, 109484),
'log_count/DEBUG': 2,
'log_count/INFO': 9,
'memusage/max': 44929024,
'memusage/startup': 44929024,
'response_received_count': 1,
'scheduler/dequeued': 2,
'scheduler/dequeued/memory': 2,
'scheduler/enqueued': 2,
'scheduler/enqueued/memory': 2,
'start_time': datetime.datetime(2019, 6, 22, 14, 41, 19, 501577)}
2019-06-22 22:41:25 [scrapy.core.engine] INFO: Spider closed (finished)
问题已解决,原来是本地的代码没有同步到虚拟机中的linux里。
Python最火爬虫框架Scrapy入门与实践
67418 学习 · 223 问题
相似问题
回答 2
回答 1