diff --git a/downloader.py b/downloader.py index e4fcb98..23d4c06 100755 --- a/downloader.py +++ b/downloader.py @@ -68,7 +68,7 @@ if args.output: if args.log_dir: args.log_dir = resolve_path(args.log_dir) elif not args.output and not args.log_dir: - args.log_dir = resolve_path(Path(os.getcwd(), 'logs')) + args.log_dir = resolve_path(Path(os.getcwd(), 'automated-youtube-dl_logs')) # print('Must set --log-dir when --output is not.') # sys.exit(1) else: @@ -115,8 +115,9 @@ if not re.match(url_regex, str(args.file)) or args.input_datatype in ('txt', 'ya sys.exit(1) else: if not args.output: - print('You must specify an output path with --output when the input is a URL.') - sys.exit(1) + args.output = resolve_path(Path(os.getcwd(), 'automated-youtube-dl_output')) + # print('You must specify an output path with --output when the input is a URL.') + # sys.exit(1) url_list[str(args.output)] = [args.file] # Create directories AFTER loading the file