[go: nahoru, domu]

Skip to content

Commit

Permalink
fixes #80
Browse files Browse the repository at this point in the history
item['label'] could be an "int", explicitly conver to str
  • Loading branch information
ZhiyuanChen committed Oct 26, 2020
1 parent 16d3619 commit ca195d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icrawler/builtin/flickr.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def parse(self, response, apikey, size_preference=None):
else:
if info['stat'] == 'ok':
urls = {
item['label'].lower(): item['source']
str(item['label']).lower(): item['source']
for item in info['sizes']['size']
}
else:
Expand Down

0 comments on commit ca195d8

Please sign in to comment.