From b265dbe0b86d051061cb30d97d28f4cc59bf01ef Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Aug 2021 15:11:20 +0100 Subject: [PATCH] Show user feed --- posts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/posts.py b/posts.py index 5526efe92..628cc106b 100644 --- a/posts.py +++ b/posts.py @@ -200,6 +200,10 @@ def parseUserFeed(session, feedUrl: str, asHeader: {}, print('No user feed was returned') return None + if debug: + print('User feed:') + pprint(feedJson) + if 'orderedItems' in feedJson: for item in feedJson['orderedItems']: yield item