forked from indymedia/epicyon
Missing arguments
parent
1b9989bcd3
commit
deb57bbf00
13
epicyon.py
13
epicyon.py
|
@ -689,12 +689,6 @@ if args.json:
|
||||||
pprint(testJson)
|
pprint(testJson)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.rss:
|
|
||||||
session = createSession(None)
|
|
||||||
testRSS = getRSS(session, args.rss)
|
|
||||||
pprint(testRSS)
|
|
||||||
sys.exit()
|
|
||||||
|
|
||||||
# create cache for actors
|
# create cache for actors
|
||||||
if not os.path.isdir(baseDir + '/cache'):
|
if not os.path.isdir(baseDir + '/cache'):
|
||||||
os.mkdir(baseDir + '/cache')
|
os.mkdir(baseDir + '/cache')
|
||||||
|
@ -756,6 +750,13 @@ if args.domain:
|
||||||
domain = args.domain
|
domain = args.domain
|
||||||
setConfigParam(baseDir, 'domain', domain)
|
setConfigParam(baseDir, 'domain', domain)
|
||||||
|
|
||||||
|
if args.rss:
|
||||||
|
session = createSession(None)
|
||||||
|
testRSS = getRSS(baseDir, domain, session, args.rss,
|
||||||
|
False, False, 1000, 1000, 1000, 1000)
|
||||||
|
pprint(testRSS)
|
||||||
|
sys.exit()
|
||||||
|
|
||||||
if args.onion:
|
if args.onion:
|
||||||
if not args.onion.endswith('.onion'):
|
if not args.onion.endswith('.onion'):
|
||||||
print(args.onion + ' does not look like an onion domain')
|
print(args.onion + ' does not look like an onion domain')
|
||||||
|
|
Loading…
Reference in New Issue