From 2acb28508fa186a4dd6b52679ffe922410c253c1 Mon Sep 17 00:00:00 2001 From: David Trail Date: Sun, 18 Mar 2012 15:55:55 +0100 Subject: [PATCH] Grabbing some data to show what's being deleted. --- grab.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/grab.py b/grab.py index f0cf8d1..ceea6ae 100755 --- a/grab.py +++ b/grab.py @@ -34,7 +34,11 @@ while True: for child in children: child_data = child['data'] if 'id' in child_data: - datum.append({'id': child_data[u'id'], 'date': child_data['created_utc']}) + datum.append({ + 'id': child_data[u'id'], + 'date': child_data['created'], + 'text': child_data['body'], + 'subreddit': child_data['subreddit']}) if after == None: break