Bug Fix
'This video is not available' never retried with cookies
Problem: Downloads failed with:
ERROR: [youtube] VIDEO_ID: This video is not available
Even when valid cookies were saved, the app never retried with them.
Root Cause: The error-detection heuristic looks_like_public_video_failure contained the overly broad pattern "not available". This matched every "not available" error, including private videos that actually need cookies. The app interpreted these as "cookies are causing the problem" and skipped the cookie retry.
Fix: Narrowed the heuristic to only detect errors clearly caused by cookies on public videos:
drm protectedpo_tokensign in to confirm you're not a bot
All other errors (including "not available", "private video", "members-only", etc.) now correctly trigger a retry with cookies when cookies are available.
How it works now
- App tries without cookies first (avoids DRM on public videos)
- If that fails with an ambiguous error → retries with cookies
- If that fails with a clear cookie-caused error (DRM, bot check) → stops and reports the error
Bump version to 0.2.4.