答案 0 :(得分:3)
虽然scrapy
使用requests
来请求网页并从网络服务器获取responses
,但标记为此类的统计信息仍具有丰富的信息。
downloader/request_count: 421
downloader/response_count: 421
downloader/response_status_count/200: 420
downloader/response_status_count/404: 1
所以scrapy
发出了421个请求,得到了420次有效响应(代码200)。有一次没有响应(代码404)。
答案 1 :(得分:0)
420页。
您可以从统计信息的downloader/response_status_count/200
字段中确定这一点。