From b8e38098107f6e0e2bad4b77c84ae93582488d72 Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Sun, 28 Apr 2024 08:02:01 +0200 Subject: [PATCH] Print a note if no ids given --- twitchdl/commands/download.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/twitchdl/commands/download.py b/twitchdl/commands/download.py index 869455d..4569249 100644 --- a/twitchdl/commands/download.py +++ b/twitchdl/commands/download.py @@ -30,6 +30,10 @@ from twitchdl.twitch import Chapter, Clip, ClipAccessToken, Video def download(ids: List[str], args: DownloadOptions): + if not ids: + print_log("No IDs to downlad given") + return + for video_id in ids: download_one(video_id, args)