Skip to content

Commit

Permalink
SH: add data_url to store the information source
Browse files Browse the repository at this point in the history
for #23
  • Loading branch information
cyroxx committed Oct 14, 2019
1 parent 0259ee6 commit b8db66b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jedeschule/spiders/schleswig_holstein.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ def parse_school(self, response):
key = row.css('td.bezeichner::text').extract_first().strip()
value = row.css('td.dbwert label::text').extract_first().strip()
item[key] = value

item['data_url'] = response.url
yield item

0 comments on commit b8db66b

Please sign in to comment.