view scrapy response in chrome from inside the spider

Solutions on MaxInterview for view scrapy response in chrome from inside the spider by the best coders in the world

showing results for - "view scrapy response in chrome from inside the spider"
Phineas
06 Sep 2017
1from scrapy.shell import inspect_response
2
3
4def parse(self, response):
5    inspect_response(response, self)
6
7# After running the file, it will open a shell where response can be viewed
8# view(response)