diff --git a/youtube_cli/main.py b/youtube_cli/main.py index caa473b..c383d33 100644 --- a/youtube_cli/main.py +++ b/youtube_cli/main.py @@ -754,7 +754,7 @@ class YouTubeCLI: """Download a video using yt-dlp with progress bar.""" # Validate URL before proceeding - if not url or not isinstance(url, str) or url.strip() == "": + if not url or not isinstance(url, str): logger.error("Invalid or empty video URL provided.") return False