From 0f0fa942f7abaf79279bd0bf9a3b2770ecb472ed Mon Sep 17 00:00:00 2001 From: Cyberes Date: Thu, 2 Feb 2023 20:49:52 -0700 Subject: [PATCH] fix variable error --- downloader.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/downloader.py b/downloader.py index e0a9ef6..d62e8f3 100755 --- a/downloader.py +++ b/downloader.py @@ -44,9 +44,8 @@ parser.add_argument('--silence-errors', '-s', action='store_true', help="Don't p parser.add_argument('--ignore-downloaded', '-i', action='store_true', help='Ignore videos that have been already downloaded and let youtube-dl handle everything.') parser.add_argument('--erase-downloaded-tracker', '-e', action='store_true', help='Erase the tracked video file.') parser.add_argument('--ratelimit-sleep', type=int, default=5, help='How many seconds to sleep to prevent rate-limiting.') -parser.add_argument('--input-datatype', choices=['auto', 'txt', 'yaml'], default='auto', help='The datatype of the input file. If set to auto, the file will be scanned for a URL on the firstline.' - 'If is a URL, the filetype will be set to txt. If it is a key: value pair then the filetype will be set to yaml.') -parser.add_argument('--logs-dir', default=None, help='Where to store the logs. Must be set when --output is not.') +parser.add_argument('--input-datatype', choices=['auto', 'txt', 'yaml'], default='auto', help=) +parser.add_argument('--log-dir', default=None, help='Where to store the logs. Must be set when --output is not.') args = parser.parse_args() if args.threads <= 0: