From a1f6b27d22511d28addbadf2a99851f64b9821a7 Mon Sep 17 00:00:00 2001 From: David Trail Date: Sun, 18 Mar 2012 20:41:38 +0100 Subject: [PATCH] I think ID will work --- grab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']})