Skip to content

Commit

Permalink
Fix commentscount being equal to likescount
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Larralde committed Jan 16, 2017
1 parent 3dd40af commit a3ef4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instaLooter/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class InstaLooter(object):
'width': lambda m: m.get('dimensions', dict()).get('width'),
'heigth': lambda m: m.get('dimensions', dict()).get('height'),
'likescount': lambda m: m.get('likes', dict()).get('count'),
'commentscount': lambda m: m.get('likes', dict()).get('count'),
'commentscount': lambda m: m.get('comments', dict()).get('count'),
'display_src': lambda m: m.get('display_src'),
'video_url': lambda m: m.get('video_url'),
}
Expand Down

0 comments on commit a3ef4dd

Please sign in to comment.