Correct the unclear comments by adding <# < processing code not shown >

This commit is contained in:
jfflisikowski 2018-10-02 19:48:48 +02:00
parent bafd174a9f
commit edaf74bfae
1 changed files with 3 additions and 1 deletions

View File

@ -18,11 +18,13 @@ Consider the following scrapy spider below::
)
def parse(self, response):
# collect `item_urls`
# <processing code not shown>
# collect `item_urls`
for item_url in item_urls:
yield scrapy.Request(item_url, self.parse_item)
def parse_item(self, response):
# <processing code not shown>
item = MyItem()
# populate `item` fields
# and extract item_details_url