|
|
@ -161,7 +161,7 @@ def downloader(args):
|
|
|
|
# copyfile("/config/defaults.ini", "{}/defaults.ini".format(loc))
|
|
|
|
# copyfile("/config/defaults.ini", "{}/defaults.ini".format(loc))
|
|
|
|
output += log('\tRunning: {}python3.9 -m fanficfare.cli -u "{}" --update-cover --non-interactive'.format(
|
|
|
|
output += log('\tRunning: {}python3.9 -m fanficfare.cli -u "{}" --update-cover --non-interactive'.format(
|
|
|
|
moving, cur), 'BLUE', live)
|
|
|
|
moving, cur), 'BLUE', live)
|
|
|
|
res = check_output('{}python3.9 -m fanficfare.cli -u "{}" --update-cover --non-interactive --config={}/personal.ini'.format(
|
|
|
|
res = check_output('{}python3.9 -m fanficfare.cli -u "{}" --update-cover --non-interactive --config={}/personal.ini -o "is_adult=true"'.format(
|
|
|
|
moving, cur, loc), shell=True, stderr=STDOUT, stdin=PIPE).decode('utf-8')
|
|
|
|
moving, cur, loc), shell=True, stderr=STDOUT, stdin=PIPE).decode('utf-8')
|
|
|
|
# output += log(f'res: {res}', 'BLUE', live)
|
|
|
|
# output += log(f'res: {res}', 'BLUE', live)
|
|
|
|
check_regexes(res)
|
|
|
|
check_regexes(res)
|
|
|
@ -172,7 +172,7 @@ def downloader(args):
|
|
|
|
if line:
|
|
|
|
if line:
|
|
|
|
output += log("\t\t{}".format(line), 'WARNING', live)
|
|
|
|
output += log("\t\t{}".format(line), 'WARNING', live)
|
|
|
|
res = check_output(
|
|
|
|
res = check_output(
|
|
|
|
'{}python3.9 -m fanficfare.cli -u "{}" --force --update-cover --non-interactive --config={}/personal.ini'.format(
|
|
|
|
'{}python3.9 -m fanficfare.cli -u "{}" --force --update-cover --non-interactive --config={}/personal.ini -o "is_adult=true"'.format(
|
|
|
|
moving, cur, loc), shell=True, stderr=STDOUT, stdin=PIPE).decode('utf-8')
|
|
|
|
moving, cur, loc), shell=True, stderr=STDOUT, stdin=PIPE).decode('utf-8')
|
|
|
|
check_regexes(res)
|
|
|
|
check_regexes(res)
|
|
|
|
# output += log(f'Cur: {get_files(loc, ".epub", True)}, len(cur): {len(get_files(loc, ".epub", True))}', 'BLUE', live)
|
|
|
|
# output += log(f'Cur: {get_files(loc, ".epub", True)}, len(cur): {len(get_files(loc, ".epub", True))}', 'BLUE', live)
|
|
|
|