Skip to content

Commit

Permalink
Print a note if no ids given
Browse files Browse the repository at this point in the history
  • Loading branch information
ihabunek committed Apr 28, 2024
1 parent cf580fd commit b8e3809
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions twitchdl/commands/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@


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)

Expand Down

0 comments on commit b8e3809

Please sign in to comment.