forked from indymedia/epicyon
Variable names
parent
8defe2003f
commit
41d68a0e05
|
@ -33,12 +33,12 @@ session = createSession(useTor)
|
|||
privateKeyPem,publicKeyPem,person,wfEndpoint=createPerson(username,domain,https,True)
|
||||
setPreferredUsername(username,domain,'badger')
|
||||
setBio(username,domain,'Some personal info')
|
||||
createPublicPost(username, domain, https, "G'day world!", False, True, None, None, 'Not suitable for Vogons')
|
||||
#createPublicPost(username, domain, https, "G'day world!", False, True, None, None, 'Not suitable for Vogons')
|
||||
|
||||
#runDaemon(domain,port,federationList,useTor)
|
||||
|
||||
#testHttpsig()
|
||||
sys.exit()
|
||||
#sys.exit()
|
||||
|
||||
#pprint(person)
|
||||
#print('\n')
|
||||
|
|
4
posts.py
4
posts.py
|
@ -45,12 +45,12 @@ def parseUserFeed(session,feedUrl,asHeader) -> None:
|
|||
pprint(feedJson)
|
||||
|
||||
if 'orderedItems' in feedJson:
|
||||
for item in feed['orderedItems']:
|
||||
for item in feedJson['orderedItems']:
|
||||
yield item
|
||||
|
||||
nextUrl = None
|
||||
if 'first' in feedJson:
|
||||
nextUrl = feed['first']
|
||||
nextUrl = feedJson['first']
|
||||
elif 'next' in feedJson:
|
||||
nextUrl = feedJson['next']
|
||||
|
||||
|
|
Loading…
Reference in New Issue