diff --git a/grab.py b/grab.py index 8347f3c..83108d1 100755 --- a/grab.py +++ b/grab.py @@ -35,7 +35,7 @@ while True: child_data = child['data'] if 'id' in child_data: datum.append({ - 'id': child_data[u'name'], + 'id': child_data[u'id'], 'created': child_data['created'], 'body': child_data['body'], 'subreddit': child_data['subreddit']})