From e1278308d1d6bea4a8ee4d393c2435ebed5a1ee9 Mon Sep 17 00:00:00 2001 From: DARKZOUL5 Date: Wed, 15 Oct 2025 21:29:02 +0300 Subject: [PATCH] Improve private playlist detection heuristics in PlaylistDownloader --- yt-playlist-main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt-playlist-main.py b/yt-playlist-main.py index b604558..2181155 100644 --- a/yt-playlist-main.py +++ b/yt-playlist-main.py @@ -213,7 +213,7 @@ class PlaylistDownloader: except subprocess.CalledProcessError as e: stderr = (e.stderr or "").lower() # Heuristics for private/unavailable playlists - if any(k in stderr for k in ("private playlist", "this playlist is private", "sign in", "login required", "403", "authorization failed")): + if any(k in stderr for k in ("private", "sign in", "login required", "403", "Authorization failed")): print(f"{WARN} Playlist appears to be private or requires authentication: '{self.url}'. Skipping.") self.skip = True return []