Missing arguments

main
Bob Mottram 2020-12-02 17:07:47 +00:00
parent 1b9989bcd3
commit deb57bbf00
1 changed files with 7 additions and 6 deletions

View File

@ -689,12 +689,6 @@ if args.json:
pprint(testJson)
sys.exit()
if args.rss:
session = createSession(None)
testRSS = getRSS(session, args.rss)
pprint(testRSS)
sys.exit()
# create cache for actors
if not os.path.isdir(baseDir + '/cache'):
os.mkdir(baseDir + '/cache')
@ -756,6 +750,13 @@ if args.domain:
domain = args.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 not args.onion.endswith('.onion'):
print(args.onion + ' does not look like an onion domain')