Skip to content

Commit

Permalink
mexico_inai: Add comment with sample URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Feb 27, 2021
1 parent 1ae39f2 commit e874784
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kingfisher_scrapy/spiders/mexico_inai.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def parse_list(self, response):
for result in datas['result']['results']:
for resource in result['resources']:
if resource['format'] == 'JSON':
# http://bit.ly/ConcentradoINAI
yield self.build_request(resource['url'], formatter=components(-1), meta={'dont_redirect': True},
callback=self.parse_redirect)

Expand Down

0 comments on commit e874784

Please sign in to comment.