Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

view scrapy response in chrome from inside the spider

from scrapy.shell import inspect_response


def parse(self, response):
    inspect_response(response, self)

# After running the file, it will open a shell where response can be viewed
# view(response)
 
PREVIOUS NEXT
Tagged: #view #scrapy #response #chrome #spider
ADD COMMENT
Topic
Name
1+7 =