mirror of https://gitlab.com/bashrc2/epicyon
Show user feed
parent
0f716bf081
commit
b265dbe0b8
4
posts.py
4
posts.py
|
@ -200,6 +200,10 @@ def parseUserFeed(session, feedUrl: str, asHeader: {},
|
||||||
print('No user feed was returned')
|
print('No user feed was returned')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
if debug:
|
||||||
|
print('User feed:')
|
||||||
|
pprint(feedJson)
|
||||||
|
|
||||||
if 'orderedItems' in feedJson:
|
if 'orderedItems' in feedJson:
|
||||||
for item in feedJson['orderedItems']:
|
for item in feedJson['orderedItems']:
|
||||||
yield item
|
yield item
|
||||||
|
|
Loading…
Reference in New Issue