forked from indymedia/epicyon
Use tor when grabbing arbitrary json
parent
048bc279fb
commit
0e474769d4
|
@ -299,7 +299,7 @@ if args.actor:
|
|||
sys.exit()
|
||||
|
||||
if args.json:
|
||||
session = createSession(domain,port,useTor)
|
||||
session = createSession(domain,port,True)
|
||||
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
|
||||
testJson = getJson(session,args.json,asHeader,None)
|
||||
pprint(testJson)
|
||||
|
|
Loading…
Reference in New Issue